wesmiler 1 hafta önce
ebeveyn
işleme
1d1ff8d498
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Services/Api/BalanceLogService.php

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

@@ -152,7 +152,7 @@ class BalanceLogService extends BaseService
     {
         // 参数验证
         $payType = isset($params['pay_type']) && $params['pay_type'] ? intval($params['pay_type']) : 10;
-        $accountType = isset($params['account_type']) && $params['account_type'] ? intval($params['account_type']) : 1;
+        $accountType = isset($params['account_type']) && $params['type'] ? intval($params['type']) : 1;
         $money = isset($params['money']) ? floatval($params['money']) : 0;
         $accountId = isset($params['account_id']) ? intval($params['account_id']) : 0;
         if ($money <= 0) {