|
@@ -31,9 +31,9 @@ class ActivityReward extends BaseController
|
|
|
'ip' => request()->ip(),
|
|
'ip' => request()->ip(),
|
|
|
'action' => request()->action,
|
|
'action' => request()->action,
|
|
|
];
|
|
];
|
|
|
- $key = 'api_request_' . md5(json_encode($keys));
|
|
|
|
|
- if (Cache::has($key)) throw new Exception("请求太频繁,请稍后再试。", HttpStatus::CUSTOM_ERROR);
|
|
|
|
|
- Cache::put($key, true, 60);
|
|
|
|
|
|
|
+// $key = 'api_request_' . md5(json_encode($keys));
|
|
|
|
|
+// if (Cache::has($key)) throw new Exception("请求太频繁,请稍后再试。", HttpStatus::CUSTOM_ERROR);
|
|
|
|
|
+// Cache::put($key, true, 60);
|
|
|
$res = SmsService::sendPhoneCode($params['phone']);
|
|
$res = SmsService::sendPhoneCode($params['phone']);
|
|
|
|
|
|
|
|
|
|
|