| success: function (re) { | success: function (re) { | ||||
| if (re.data.code == -1002) { | if (re.data.code == -1002) { | ||||
| wx.removeStorageSync('openid'); | wx.removeStorageSync('openid'); | ||||
| that.wxLogin(); | |||||
| // that.wxLogin(); | |||||
| // that.wxRequest(url, params, callback, thisArg, methods, openid); | // that.wxRequest(url, params, callback, thisArg, methods, openid); | ||||
| } | } | ||||
| if (callback && thisArg) { | if (callback && thisArg) { |