Przeglądaj źródła

-1002错误不再重新请求openid

guessPrice
=chenming 5 lat temu
rodzic
commit
b6f24d947a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      496_dongfengqichen/app.js

+ 1
- 1
496_dongfengqichen/app.js Wyświetl plik

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) {

Ładowanie…
Anuluj
Zapisz