Преглед изворни кода

APP小程序-注册登录功能改进-(已完成)注册用户验证码改进

xupuyuan пре 11 месеци
родитељ
комит
5ac25505d5
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/controller/api/Auth.php

+ 1 - 0
app/controller/api/Auth.php

@@ -1684,6 +1684,7 @@ class Auth extends BaseController
1684 1684
         //log::info("页面传值==={$code}");
1685 1685
         if (!$cache_code = Cache::get($sms_key)) return false;
1686 1686
         if ($code != $cache_code) return false;
1687
+        //Cache::delete($sms_key);
1687 1688
         return true;
1688 1689
     }
1689 1690
     //批量生产100个账号