ccjgmwz 4 年之前
父节点
当前提交
056743fd22

+ 2 - 2
unimall-app-api/src/main/java/com/iotechn/unimall/app/api/user/UserServiceImpl.java

@@ -350,7 +350,7 @@ public class UserServiceImpl implements UserService {
             close();
             DBConnection1();
             if( excSelect2("select * from s_user t where t.id = '"+sUserId+"'",this.coon1)!= null){
-                excUpdate("update s_user t set t.last_oper_time = now() where t.id = '"+sUserId+"'",this.coon1);
+                excUpdate("update s_user t set t.last_oper_time = now(),t.cid = '"+cid+"' where t.id = '"+sUserId+"'",this.coon1);
             }
             else{
                 excInsert("insert into s_user (id,nick_name,user_name,password,avatar,money,status,oper_time,last_oper_time) " +
@@ -792,7 +792,7 @@ public class UserServiceImpl implements UserService {
             close();
             DBConnection1();
             if( excSelect2("select * from s_user t where t.id = '"+sUserId+"'",this.coon1)!= null){
-                excUpdate("update s_user t set t.last_oper_time = now() where t.id = '"+sUserId+"'",this.coon1);
+                excUpdate("update s_user t set t.last_oper_time = now(),t.cid = '"+cid+"' where t.id = '"+sUserId+"'",this.coon1);
             }
             else{
                 excInsert("insert into s_user (id,nick_name,user_name,password,avatar,money,status,oper_time,last_oper_time) " +

+ 1 - 1
unimall-app/manifest.json

@@ -55,7 +55,7 @@
                     "weixin" : {
                         "appid" : "wx4505a6ea6f703e17",
                         "appsecret" : "610838e6d27468602fbdeb1394520679",
-                        "UniversalLinks" : "https://app.myhjdc.cn/"
+                        "UniversalLinks" : "https://app.zthymaoyi.com/"
                     },
                     "apple" : {}
                 },