Commit dda713d6 authored by zhangyingbin's avatar zhangyingbin

Changes

parent 6add2f4d
......@@ -18,10 +18,9 @@ public class AppBaseService<V, P, M extends BaseMapper<P>> extends BaseService<
private RedisTemplate redisTemplate;
public String getAppId() {
// String tokenKey = Redis.genKey(Constant.TOKEN_PREFIX, RequestContext.getToken());
// BizTokenModel bizTokenModel = (BizTokenModel) redisTemplate.opsForValue().get(tokenKey);
// return bizTokenModel.getAppId();
return "FJSLEICJKSLF";
String tokenKey = Redis.genKey(Constant.TOKEN_PREFIX, RequestContext.getToken());
BizTokenModel bizTokenModel = (BizTokenModel) redisTemplate.opsForValue().get(tokenKey);
return bizTokenModel.getAppId();
}
}
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