diff --git a/client/mp/app.js b/client/mp/app.js index 2182f3fe..ef51b771 100644 --- a/client/mp/app.js +++ b/client/mp/app.js @@ -1,7 +1,8 @@ const kit = require("utils/kit.js") App({ - data: {}, conf: {serve: "https://shylinux.com/chat", space: "mac"}, + // data: {}, conf: {serve: "https://shylinux.com/chat", space: "mac"}, + data: {}, conf: {serve: "https://shylinux.com/chat", space: ""}, request: function(cmd, data, cb) { var app = this; data.sessid = app.conf.sessid, data.pod = app.conf.space wx.request({method: "POST", url: app.conf.serve+"/"+cmd, data: data, success: function(res) { var msg = res.data if (res.statusCode == 401) { return app.usercode(function() {app.request(cmd, data, cb)}) } diff --git a/client/mp/pages/action/action.wxml b/client/mp/pages/action/action.wxml index a60c0cf2..e1ce3cbe 100644 --- a/client/mp/pages/action/action.wxml +++ b/client/mp/pages/action/action.wxml @@ -41,4 +41,5 @@ {{item}} +