loginDevice 字段已经被消费了所以这里需要新创建一个字段 用来设置登录端
This commit is contained in:
parent
b894f4abf3
commit
a5f324d853
@ -15,6 +15,11 @@ public class SystemAndDeviceInfo {
|
||||
|
||||
private String deviceNo;
|
||||
|
||||
/**
|
||||
* 登录的端
|
||||
*/
|
||||
private String device;
|
||||
|
||||
private String appVersion;
|
||||
|
||||
private String ipAddress;
|
||||
|
||||
@ -317,6 +317,8 @@ public class ContextInfoBuilderAspect {
|
||||
try {
|
||||
fillLegacyGuess(contextInfo, userinfoMap);
|
||||
contextInfo.getSystemAndDeviceInfo().setLoginDevice(contextInfo.getTerminalInfo().getSimpleTerminal());
|
||||
// loginDevice 字段已经被消费了所以这里需要新创建一个字段 用来设置登录端
|
||||
contextInfo.getSystemAndDeviceInfo().setDevice((String) userinfoMap.get("loginDevice"));
|
||||
} catch (Exception e) {
|
||||
log.warn("fill legacy guess error for user identityId=" + userInfo.getIdentityId(), e);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user