Ken 1 săptămână în urmă
părinte
comite
690fefe864
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      app/Http/Controllers/admin/Wallet.php

+ 3 - 2
app/Http/Controllers/admin/Wallet.php

@@ -92,10 +92,11 @@ class Wallet extends Controller
             $key = 'api_request_' . md5($memberId . json_encode([
                         'amount' => $amount,
                         'remark' => $remark,
-                        'change_type' => $changeType
+                        'change_type' => $changeType,
+                        'action' => "wallet/topUp"
                     ]));
             if (Cache::has($key)) {
-                throw new Exception("请求太频繁,请稍后再试。",HttpStatus::CUSTOM_ERROR);
+                throw new Exception("请求太频繁,请稍后再试。", HttpStatus::CUSTOM_ERROR);
             }
             Cache::put($key, true, 3);