Commit 67c3975b authored by sunxin's avatar sunxin

修改用户信息请求方式

parent 39076a42
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
target.isLogin = msg.result; target.isLogin = msg.result;
if(msg.result) { if(msg.result) {
$.ajax({ $.ajax({
type: "POST", type: "GET",
url: "{ms:global.host/}/people/user/info.do", url: "{ms:global.host/}/people/user/info.do",
success: function(msg) { success: function(msg) {
target.peopleInfo = msg; target.peopleInfo = msg;
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
quitLogin: function() { quitLogin: function() {
var target = this; var target = this;
$.ajax({ $.ajax({
type: "POST", type: "GET",
url: "{ms:global.host/}/people/quit.do", url: "{ms:global.host/}/people/quit.do",
success: function(msg) { success: function(msg) {
if(msg.result) { if(msg.result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment