Commit a32ac1d1 by 陶光胜

观云台小程序

parent 24ed28ad
......@@ -65,7 +65,7 @@ public class LoginController {
return false;
});
RedisUtil.setCache(key, userVo, 5l, TimeUnit.MINUTES);
RedisUtil.setCache("userEnterpriseList:"+userVo.getUserId(), enterpriseDTOList, 1l, TimeUnit.HOURS);
RedisUtil.setCache("userEnterpriseList:"+userVo.getUserId(), enterpriseDTOList);
return RestResponse.success(enterpriseId);
}else {
return RestResponse.failure(ErrorCode.SYSTEMERROR.getCode(), smsSendResult.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment