lsc 4 днів тому
батько
коміт
9ebaa49451
1 змінених файлів з 17 додано та 8 видалено
  1. 17 8
      js/app/Onload.js

+ 17 - 8
js/app/Onload.js

@@ -931,13 +931,14 @@ function loginPan(userInfo, userId) {
   let vip_member = $(".vip_member")[0];
   vip_member && (vip_member.innerHTML = vMember);
 
-  U.A.Request(
-    US.Config.pbl + "addLoginOperation",
-    [userId],
-    function (res) {},
-    [],
-    { type: "POST", withCredentials: true }
-  );
+  addOp('','cocoflowLogin','')
+//   U.A.Request(
+//     US.Config.pbl + "addLoginOperation",
+//     [userId],
+//     function (res) {},
+//     [],
+//     { type: "POST", withCredentials: true }
+//   );
 
   if (userInfo.organizeid == "91305d49-01ba-11ed-8c78-005056b86db4") {
     $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/mingdeBg.png")';
@@ -1173,4 +1174,12 @@ function selectUser(uid, callback) {
         U.alert("登录失败,正在重试!")
         requestUser();
     }
-}
+}
+
+function addOp(text,type,time){
+    var userInfo = US.userInfo;
+    if(Object.keys(userInfo).length !== 0){
+        U.A.Request(US.Config.pbl + "addOperationTimeT", [userInfo.userid,text,type,time], function (res) {
+        }, [], { "type": "POST", "withCredentials": true });
+    }
+}