bug--修复后台近七天统计数

This commit is contained in:
taozi
2020-09-08 16:48:39 +08:00
parent b673cbac23
commit 136e32810e
4 changed files with 40 additions and 10 deletions

View File

@ -60,7 +60,6 @@ import java.util.List;
public class AuthService {
private final YxUserService userService;
private final RedisUtils redisUtil;
private final RedisUtils redisUtils;
private static Integer expiredTimeIn;
@ -86,8 +85,8 @@ public class AuthService {
String spread = loginParam.getSpread();
try {
//读取redis配置
String appId = redisUtil.getY(ShopKeyUtils.getWxAppAppId());
String secret = redisUtil.getY(ShopKeyUtils.getWxAppSecret());
String appId = redisUtils.getY(ShopKeyUtils.getWxAppAppId());
String secret = redisUtils.getY(ShopKeyUtils.getWxAppSecret());
if (StrUtil.isBlank(appId) || StrUtil.isBlank(secret)) {
throw new YshopException("请先配置小程序");
}