Authored by weiqingting

post 提交

@@ -63,7 +63,7 @@ module.exports={ @@ -63,7 +63,7 @@ module.exports={
63 userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data); 63 userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data);
64 console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight); 64 console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight);
65 //调用权限 65 //调用权限
66 - request({ 66 + request.post({
67 url: Iaccount.allRight, 67 url: Iaccount.allRight,
68 form: '[false]' 68 form: '[false]'
69 }, function (error2, httpResponse2, rebody2) { 69 }, function (error2, httpResponse2, rebody2) {
@@ -63,7 +63,7 @@ module.exports={ @@ -63,7 +63,7 @@ module.exports={
63 userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data); 63 userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data);
64 console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight); 64 console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight);
65 //调用权限 65 //调用权限
66 - request({ 66 + request.post({
67 url: Iaccount.allRight, 67 url: Iaccount.allRight,
68 form: '[false]' 68 form: '[false]'
69 }, function (error2, httpResponse2, rebody2) { 69 }, function (error2, httpResponse2, rebody2) {