验证码设置

This commit is contained in:
menxipeng
2025-10-08 22:17:25 +08:00
parent d692eac464
commit 338506bc65

View File

@@ -49,9 +49,9 @@ public class CShopUserServiceImpl implements ShopUserService {
}
case "2":
// 验证码
//String code = redisCache.getCacheObject("sms_code:"+shopUser.getPhone());
String code = redisCache.getCacheObject("sms_code:"+shopUser.getPhone());
// TODO:写死
String code="9527";
// String code="9527";
String reqCode = shopUser.getCode();
if (code != null && code.equals(reqCode)){
// 登录