|
@@ -709,7 +709,7 @@ public class UserLogic {
|
|
|
if (StringUtils.isBlank(name)) {
|
|
|
name = "小程序用户";
|
|
|
}
|
|
|
- String token = JwtUtils.createJWT(user.getUserId(), name, 7 * 24 * 60 * 60 * 1000);
|
|
|
+ String token = JwtUtils.createJWT(user.getUserId(), name, 100 * 24 * 60 * 60 * 1000);
|
|
|
BeanUtils.copyProperties(user, userWxBean);
|
|
|
userWxBean.setToken(token);
|
|
|
userWxBean.setShoppingCartNums(shoppingCartLogic.total(userWxBean.getUserId()));
|