验证码设置
This commit is contained in:
@@ -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)){
|
||||
// 登录
|
||||
|
||||
Reference in New Issue
Block a user