Mike %!s(int64=4) %!d(string=hai) anos
pai
achega
223f81d691
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Api/V2/CommonController.php

+ 1 - 1
app/Http/Controllers/Api/V2/CommonController.php

xqd
@@ -348,7 +348,7 @@ class CommonController extends Controller
         if (empty($result['Code']) || $result['Code'] != 'OK'){
             return out(null, 30010, '验证码发送失败,请稍后重试');
         }
-        Cache::set($req['phone'].'-'.$req['type'], $verify_code, config('config.aly_sms.sms_verify_code_expire'));
+        Cache::set($req['phone'].'-', $verify_code, config('config.aly_sms.sms_verify_code_expire'));
 
         return out();
     }