Mike 4 rokov pred
rodič
commit
223f81d691

+ 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();
     }