|
@@ -44,8 +44,8 @@ public class AppTokenServiceImpl implements IAppTokenService {
|
|
|
// String appInfo = redis.get(cacheKey);
|
|
|
AppToken token = null;
|
|
|
// if (StringUtils.isBlank(appInfo)) {
|
|
|
- /* token = selectByPrimaryKey(appId);
|
|
|
- if (null == token) {
|
|
|
+ token = selectByPrimaryKey(appId);
|
|
|
+ /* if (null == token) {
|
|
|
LogUtil.error(logger, "app_token记录不存在,appId:{0}", appId);
|
|
|
throw new ServiceException();
|
|
|
}
|