Bladeren bron

登录日志兼容直播教师和学生合并

tags/正式3.10.0
王宁 1 jaar geleden
bovenliggende
commit
72ca4867fc
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      suser/src/main/java/com/xhkjedu/suser/service/system/UserService.java

+ 1
- 1
suser/src/main/java/com/xhkjedu/suser/service/system/UserService.java Bestand weergeven

@@ -445,7 +445,7 @@ public class UserService extends JedisUtil {
445 445
             Integer usertype = userVo.getUsertype();
446 446
             userLog.setUsertype(usertype);
447 447
             String ultype = user.getUltype();
448
-            if (N_Utils.isNotEmpty(ultype) && ultype.equals("p_web") && usertype != null) {
448
+            if (N_Utils.isNotEmpty(ultype) && (ultype.equals("p_web") || ultype.equals("live_pc")) && usertype != null) {
449 449
                 //网页端学生和教师合并登录,前端传p_web,拼接完整的ultype
450 450
                 if (usertype == 2) {
451 451
                     userLog.setUltype(user.getUltype() + "_s");

Laden…
Annuleren
Opslaan