Commit 5841c0a9 authored by zhangyingbin's avatar zhangyingbin

修改openapi技术参数接口

parent ab5ce2bf
...@@ -51,13 +51,13 @@ public class TechInfoService { ...@@ -51,13 +51,13 @@ public class TechInfoService {
@Autowired @Autowired
private RedisTemplate redisTemplate; 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();
// }
public String getAppId() { public String getAppId() {
return "HSICIOWOC"; String tokenKey = Redis.genKey(Constant.TOKEN_PREFIX, RequestContext.getToken());
BizTokenModel bizTokenModel = (BizTokenModel) redisTemplate.opsForValue().get(tokenKey);
return bizTokenModel.getAppId();
} }
// public String getAppId() {
// return "HSICIOWOC";
// }
} }
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