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,6 +62,9 @@ public class TUserLog extends BaseBean {
62 62
     //系统版本(android、鸿蒙、荣耀系统、win等)
63 63
     private String systemversion;
64 64
 
65
+    //操作系统位数
66
+    private String systembit;
67
+
65 68
     @Transient
66 69
     //截止时间
67 70
     private Integer endtime;

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

@@ -174,4 +174,8 @@ public class TUser extends BaseBean {
174 174
     @Transient
175 175
     //登录终端型号(华为mate9、小米13等)
176 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,6 +53,9 @@ public class TUserLog extends BaseBean {
53 53
     //系统版本(android、鸿蒙、荣耀系统、win等)
54 54
     private String systemversion;
55 55
 
56
+    //操作系统位数
57
+    private String systembit;
58
+
56 59
     //备注
57 60
     private String logtxt;
58 61
 

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

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

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

@@ -439,6 +439,7 @@ public class UserService extends JedisUtil {
439 439
             userLog.setSystemversion(user.getSystemversion());
440 440
             userLog.setUltypeband(user.getUltypeband());
441 441
             userLog.setUltypemodel(user.getUltypemodel());
442
+            userLog.setSystembit(user.getSystembit());
442 443
             Integer usertype = user.getUsertype();
443 444
             userLog.setUsertype(usertype);
444 445
             String ultype = user.getUltype();

Loading…
Cancel
Save