Ver código fonte

提示文字

theojeng 3 anos atrás
pai
commit
2afae903bc
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      common/models/forms/TransferForm.php

+ 1 - 1
common/models/forms/TransferForm.php

@@ -304,7 +304,7 @@ class TransferForm extends Model {
         $fromData = Balance::getLogData($this->_fromUserInfo['ID']);
         $toData = Balance::getLogData($this->_toUserInfo['ID']);
         if ($this->_fromUserInfo['ID']==$this->_toUserInfo['ID'] && $this->_transferConfig['out']==$this->_transferConfig['in']){
-            throw new \Exception('不能给自己转账');
+            throw new \Exception('不能给同一账户转账');
         }
         $this->userOperateLogger->saveBeforeContent=array_merge($fromData,$toData);