提交修改
This commit is contained in:
parent
ce7d558085
commit
840a2c79db
@ -75,7 +75,7 @@ public class AppUserLoginController {
|
|||||||
String value = AesUtil.decrypt(deviceId, ApiConstants.AnonymousUserLogin_aes_password);
|
String value = AesUtil.decrypt(deviceId, ApiConstants.AnonymousUserLogin_aes_password);
|
||||||
|
|
||||||
if (StringUtils.isBlank(value) || !value.startsWith(ApiConstants.AnonymousUserLogin_pre)) {
|
if (StringUtils.isBlank(value) || !value.startsWith(ApiConstants.AnonymousUserLogin_pre)) {
|
||||||
log.info("anonymous value:{}", JSON.toJSONString(request));
|
log.info("AnonymousUserLoginAesPassword anonymous value:{}", JSON.toJSONString(request));
|
||||||
return R.error("设备号不对");
|
return R.error("设备号不对");
|
||||||
}
|
}
|
||||||
Random random = new Random(100000000L);
|
Random random = new Random(100000000L);
|
||||||
@ -85,7 +85,6 @@ public class AppUserLoginController {
|
|||||||
BuyerDTO buyerDTO = buildBuyerLoginInfoCacheRedisDB(target, RedisUtils.thirty_minute, request.getDeviceId());
|
BuyerDTO buyerDTO = buildBuyerLoginInfoCacheRedisDB(target, RedisUtils.thirty_minute, request.getDeviceId());
|
||||||
|
|
||||||
replaceActivityInfo(request, "/app/user/anonymous/login");
|
replaceActivityInfo(request, "/app/user/anonymous/login");
|
||||||
|
|
||||||
return R.ok().put("buyer", buyerDTO);
|
return R.ok().put("buyer", buyerDTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user