fail url not in domain list
jLogin: function (cid, userInfo, joinco) { var that = this; wx.login({ success: function (res) { if (res.code) { wx.request({ url: that.data.host + "/page/login_json.php", data: { code: res.code }, success(res) { that.setData({ openid: res.data.openid, }) that.joinco_in(res.data.openid, cid, userInfo, joinco) }, fail: function (res) { that.setData({ hidden: true, }) return } }) } }, fail: function (res) { console.log(res) return } })} |
再不解决就神经衰弱了,小程序好几天没心思往下写了,这个问题没解决!
