wesmiler пре 4 дана
родитељ
комит
b3de53c853
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 1
      app/Services/Api/BalanceLogService.php
  2. 1 0
      resources/lang/zh-cn/api.php

+ 1 - 1
app/Services/Api/BalanceLogService.php

@@ -174,7 +174,7 @@ class BalanceLogService extends BaseService
 
         $withdrawMin = ConfigService::make()->getConfigByCode("withdraw_min_{$accountType}", 0.1);
         if ($withdrawMin > 0 && $money < $withdrawMin) {
-            $this->error = lang(2305, ['money' => $withdrawMin]);
+            $this->error = lang($accountType==2?2309:2305, ['money' => $withdrawMin]);
             return false;
         }
 

+ 1 - 0
resources/lang/zh-cn/api.php

@@ -80,6 +80,7 @@ return [
     '2306'=>'余额提现账户处理失败',
     '2307'=>'余额提现申请失败',
     '2308'=>'余额提现申请成功,请耐心等候审核打款~',
+    '2309'=>'最低提现数量为:money个',
 
 
     '2615'=> '支付金额错误',