Pārlūkot izejas kodu

修改用户信息请求方式

sunxin 6 gadi atpakaļ
vecāks
revīzija
67c3975bd7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/main/webapp/templets/1/default/head.htm

+ 2 - 2
src/main/webapp/templets/1/default/head.htm

@@ -94,7 +94,7 @@
                     target.isLogin = msg.result;
                     if(msg.result) {
                         $.ajax({
-                            type: "POST",
+                            type: "GET",
                             url: "{ms:global.host/}/people/user/info.do",
                             success: function(msg) {
                                 target.peopleInfo = msg;
@@ -109,7 +109,7 @@
             quitLogin: function() {
                 var target = this;
                 $.ajax({
-                    type: "POST",
+                    type: "GET",
                     url: "{ms:global.host/}/people/quit.do",
                     success: function(msg) {
                         if(msg.result) {