From 55803b1a7b478aade9b6e59ca6675777375e2a92 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期五, 07 七月 2023 15:48:24 +0800
Subject: [PATCH] no message

---
 uniapp/pages/login/bindingPhone.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/uniapp/pages/login/bindingPhone.vue b/uniapp/pages/login/bindingPhone.vue
index a4d1ba6..a9f421f 100644
--- a/uniapp/pages/login/bindingPhone.vue
+++ b/uniapp/pages/login/bindingPhone.vue
@@ -201,11 +201,11 @@
 							url: './setInviteCode'
 						})
 					}
-					else if (e.data.userinfo.isPwd == 'N') {
+					/* else if (e.data.userinfo.isPwd == 'N') {
 						uni.redirectTo({
 							url: './setPass'
 						})
-					} else {
+					} */else {
 						uni.switchTab({
 							url: '../index/index'
 						})
@@ -214,14 +214,19 @@
 			},
 			bindMobile(){
 				var that = this;
-				console.log(this.hasLogin)
-				console.log(this.wxUser)
+				let clientInfo = uni.getStorageSync('clientInfo');
+				var pushCid="";
+				if(clientInfo&&clientInfo.clientid)
+				{
+					pushCid=clientInfo.clientid;
+				}
 				if(this.wxUser != ""){
 					this.$u.api.bindMobileLogin({
 						wxUser : encodeURIComponent(JSON.stringify(that.wxUser)),
 						mobile:this.phone,
 						captcha:this.code,
-						isyj:this.isyj
+						isyj:this.isyj,
+						pushCid:pushCid
 					}).then(e => {
 						console.log(e)
 						if (e.code != 0) return that.$alert(e.msg)

--
Gitblit v1.9.3