Browse Source

登录站点修改

zhaoxiaohai 2 years ago
parent
commit
1473cd00bf
3 changed files with 4 additions and 4 deletions
  1. 1 1
      pages/login/modules/account.js
  2. 2 2
      pages/login/modules/phone.js
  3. 1 1
      pages/login/phone.js

+ 1 - 1
pages/login/modules/account.js

@@ -54,7 +54,7 @@ Component({
             _Http.login({
                 "accountno": this.data.accountno,
                 "password": md5.hexMD5(this.data.password),
-                "systemclient": "wechatservice"
+                "systemclient": "wechatsaletool"
             }).then(res => {
                 getCurrentPages()[0].setData({
                     loading: false

+ 2 - 2
pages/login/modules/phone.js

@@ -31,7 +31,7 @@ Component({
             if (!Check.CheckPhoneNumber(this.data.phonenumber)) return;
             _Http.getpassword({
                 "phonenumber": this.data.phonenumber,
-                "systemclient": "wechatservice"
+                "systemclient": "wechatsaletool"
             }).then(res => {
                 wx.showToast({
                     title: res.msg,
@@ -78,7 +78,7 @@ Component({
             _Http.plogin({
                 "phonenumber": this.data.phonenumber,
                 "password": md5.hexMD5(this.data.password),
-                "systemclient": "wechatservice"
+                "systemclient": "wechatsaletool"
             }).then(res => {
                 getCurrentPages()[0].setData({
                     loading: false

+ 1 - 1
pages/login/phone.js

@@ -23,7 +23,7 @@ Page({
                 if (res.code) {
                     _Http.loginbywechat({
                         wechat_code: res.code,
-                        "systemclient": "wechatservice"
+                        "systemclient": "wechatsaletool"
                     }).then(res => {
                         console.log("微信快捷登录", res)
                         if (res.code == 0) return wx.showToast({