修改用户信息请求方式

This commit is contained in:
sunxin 2019-03-25 18:46:52 +08:00
parent 39076a4238
commit 67c3975bd7
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@
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) {