theojeng 3 سال پیش
والد
کامیت
2afae903bc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);