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