wesmiler 6 天之前
父節點
當前提交
434a608604
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/Api/BalanceLogService.php

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

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