zoujiajian пре 1 година
родитељ
комит
e864ad74d4

+ 0 - 2
netflix-service/src/main/java/com/cyksj/service/mirrorshop/impl/CmsUserMirrorShopServiceImpl.java

@@ -132,12 +132,10 @@ public class CmsUserMirrorShopServiceImpl implements CmsUserMirrorShopService {
 			if (StrUtil.isEmpty(phone)) {
 				throw BusinessRuntimeException.getInstance("请输入正确的手机号");
 			}
-			CACHE_LOGIN_KEY += phone;
 		} else if (type == 2) {
 			if (!Validator.isEmail(email)) {
 				throw BusinessRuntimeException.getInstance("请输入正确的邮箱");
 			}
-			CACHE_LOGIN_KEY += email;
 		}
 		String cache_code = String.valueOf(redisService.get(CACHE_LOGIN_KEY));
 		if (StrUtil.isBlank(cache_code) || !cache_code.equals(code)) {