Browse Source

登录日志添加字段

tags/正式3.10.0
王宁 1 year ago
parent
commit
adc5f008a6

+ 3
- 0
sapi/src/main/java/com/xhkjedu/sapi/model/system/TUserLog.java View File

62
     //系统版本(android、鸿蒙、荣耀系统、win等)
62
     //系统版本(android、鸿蒙、荣耀系统、win等)
63
     private String systemversion;
63
     private String systemversion;
64
 
64
 
65
+    //操作系统位数
66
+    private String systembit;
67
+
65
     @Transient
68
     @Transient
66
     //截止时间
69
     //截止时间
67
     private Integer endtime;
70
     private Integer endtime;

+ 4
- 0
suser/src/main/java/com/xhkjedu/suser/model/system/TUser.java View File

174
     @Transient
174
     @Transient
175
     //登录终端型号(华为mate9、小米13等)
175
     //登录终端型号(华为mate9、小米13等)
176
     private String ultypemodel;
176
     private String ultypemodel;
177
+
178
+    @Transient
179
+    //操作系统位数
180
+    private String systembit;
177
 }
181
 }

+ 3
- 0
suser/src/main/java/com/xhkjedu/suser/model/system/TUserLog.java View File

53
     //系统版本(android、鸿蒙、荣耀系统、win等)
53
     //系统版本(android、鸿蒙、荣耀系统、win等)
54
     private String systemversion;
54
     private String systemversion;
55
 
55
 
56
+    //操作系统位数
57
+    private String systembit;
58
+
56
     //备注
59
     //备注
57
     private String logtxt;
60
     private String logtxt;
58
 
61
 

+ 1
- 0
suser/src/main/java/com/xhkjedu/suser/service/system/UserLogService.java View File

54
         params.put("mac", user.getMac());
54
         params.put("mac", user.getMac());
55
         params.put("versioncode", user.getVersionnum());
55
         params.put("versioncode", user.getVersionnum());
56
         params.put("systemversion", user.getSystemversion());
56
         params.put("systemversion", user.getSystemversion());
57
+        params.put("systembit", user.getSystembit());
57
         params.put("usertype", userLog.getUsertype());
58
         params.put("usertype", userLog.getUsertype());
58
         params.put("device", userLog.getUltype());
59
         params.put("device", userLog.getUltype());
59
         params.put("logip", userLog.getLogip());
60
         params.put("logip", userLog.getLogip());

+ 1
- 0
suser/src/main/java/com/xhkjedu/suser/service/system/UserService.java View File

439
             userLog.setSystemversion(user.getSystemversion());
439
             userLog.setSystemversion(user.getSystemversion());
440
             userLog.setUltypeband(user.getUltypeband());
440
             userLog.setUltypeband(user.getUltypeband());
441
             userLog.setUltypemodel(user.getUltypemodel());
441
             userLog.setUltypemodel(user.getUltypemodel());
442
+            userLog.setSystembit(user.getSystembit());
442
             Integer usertype = user.getUsertype();
443
             Integer usertype = user.getUsertype();
443
             userLog.setUsertype(usertype);
444
             userLog.setUsertype(usertype);
444
             String ultype = user.getUltype();
445
             String ultype = user.getUltype();

Loading…
Cancel
Save