Browse Source

退出通知商城

wangmh 8 years ago
parent
commit
19896e5216
1 changed files with 14 additions and 0 deletions
  1. 14 0
      src/main/webapp/resources/js/common/common.js

+ 14 - 0
src/main/webapp/resources/js/common/common.js

@@ -45,11 +45,25 @@ function logout() {
 		if(data.success) {
 			logoutUuzc();
             logoutUuzcJob();
+            logoutMall();
 			setTimeout("window.location.reload()", 200);
 		}
 	});
 }
 
+function logoutMall() {
+    var url = 'https://www.usoftmall.com/logout';
+    $.ajax(url, {
+        dataType: 'jsonp',
+        crossDomain: true,
+        success: function(data) {
+            if(data && data.resultcode == '200'){
+                console.log(data.result.today);
+            }
+        }
+    });
+}
+
 /**
  * 通知众创登出
  */