|
@@ -225,7 +225,6 @@ class Api {
|
|
|
}
|
|
|
|
|
|
static wxRequestPromise(url, data, method, header) {
|
|
|
- console.log('wxRequestPromise: ');
|
|
|
return new Promise((resolve, reject) => {
|
|
|
wx.request({
|
|
|
url: url,
|
|
@@ -233,7 +232,6 @@ class Api {
|
|
|
method: method,
|
|
|
header: header === undefined ? {} : header,
|
|
|
success: (res) => {
|
|
|
- console.log('request success: ', res);
|
|
|
//直接处理登录失效的逻辑
|
|
|
if (res.data.code === ResponseStateCode.LOGIN_INVALIDATE) {
|
|
|
Global.needLogin = true;
|