Ken hai 3 días
pai
achega
9851452239
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      app/Http/Controllers/api/ActivityReward.php

+ 1 - 2
app/Http/Controllers/api/ActivityReward.php

@@ -35,14 +35,13 @@ class ActivityReward extends BaseController
 //            $key = 'api_request_' . md5(json_encode($keys));
 //            if (Cache::has($key)) throw new Exception("请求太频繁,请稍后再试。", HttpStatus::CUSTOM_ERROR);
 //            Cache::put($key, true, 60);
-            $code = SmsService::sendPhoneCode($params['phone']);
+//            $code = SmsService::sendPhoneCode($params['phone']);
 
 
         } catch (ValidationException $e) {
 
             return $this->error($e->validator->errors()->first());
         } catch (Exception $e) {
-
             return $this->error($e->getMessage(), [], $e->getCode());
         }
         return $this->success($keys);