修改用户信息请求方式
This commit is contained in:
parent
39076a4238
commit
67c3975bd7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue