|
|
@@ -263,7 +263,7 @@ class TransferForm extends Model {
|
|
|
* @param $params
|
|
|
*/
|
|
|
public function validatePassword($attribute, $params) {
|
|
|
- if(!$this->_fromUserInfo || $this->payPassword){
|
|
|
+ if(!$this->_fromUserInfo || !$this->payPassword){
|
|
|
LoggerTool::info('转账error'. $this->amount.' '. $this->toUserName);
|
|
|
}else if (!User::validatePayPassword($this->_fromUserInfo['ID'], $this->payPassword)) {
|
|
|
$this->addError($attribute, '支付密码不正确');
|