|
|
@@ -56,6 +56,7 @@ Component({
|
|
|
"password": md5.hexMD5(this.data.password),
|
|
|
"systemclient": "wechatsaletool"
|
|
|
}).then(res => {
|
|
|
+ console.log("登录", res)
|
|
|
getCurrentPages()[0].setData({
|
|
|
loading: false
|
|
|
})
|
|
|
@@ -63,6 +64,11 @@ Component({
|
|
|
title: res.msg,
|
|
|
icon: "none"
|
|
|
})
|
|
|
+ if (res.account_list.length == 1 && res.account_list[0].status == 'INACTIVE') return wx.showToast({
|
|
|
+ title: '该账号已停用',
|
|
|
+ icon: "none",
|
|
|
+ mask: true
|
|
|
+ })
|
|
|
wx.setStorageSync('loginMsg', {
|
|
|
accountno: this.data.accountno,
|
|
|
password: (this.data.memory) ? this.data.password : ''
|