给用户提供平台版本号与客服电话
This commit is contained in:
parent
4163fe06c6
commit
67305b7396
@ -268,7 +268,12 @@ public class XhpcAppUserServiceImpl implements IXhpcAppUserUserService {
|
||||
public Map<String, Object> appInfo(HttpServletRequest request) {
|
||||
LoginUser loginUser = logUserUtils.getLogUser(request);
|
||||
String userId = StringUtils.valueOf(loginUser.getUserid());
|
||||
return xhpcAppUserMapper.info(Long.parseLong(userId));
|
||||
Object version = redisService.getCacheObject("global:version");
|
||||
Object servicePhone = redisService.getCacheObject("global:phone");
|
||||
Map<String,Object> result = xhpcAppUserMapper.info(Long.parseLong(userId));
|
||||
result.put("version",version);
|
||||
result.put("servicePhone",servicePhone);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user