Prechádzať zdrojové kódy

用户id发送验证码

lucheng 1 rok pred
rodič
commit
53f63af07b

+ 1 - 0
pages/bindPhone/bindPhone.js

@@ -128,6 +128,7 @@ Page({
     wx.request({
       url: getApp().globalData.postHeadAgreement + '/restapi/wechat/sendPhoneVcodeUnique',
       data: {
+        userId: that.data.userInfo.userId,
         scene: that.data.scene,
         terminal: phone,
       },

+ 0 - 4
pages/forget/forget.js

@@ -26,10 +26,6 @@ Page({
     let that = this;
     let { phone, vcode } = this.data;
     //跳转到下一步
-    let url = `/pages/reset_password/reset_password?phone=`+phone;
-    wx.redirectTo({
-      url
-    });
     wx.request({
       url: getApp().globalData.postHeadAgreement + '/restapi/wechat/forget',
       data: {

+ 1 - 0
pages/ucenter/accountsecurity/unbindphone/unbindphone.js

@@ -129,6 +129,7 @@ Page({
     wx.request({
       url: getApp().globalData.postHeadAgreement + '/restapi/wechat/sendPhoneVcodeUnique',
       data: {
+        userId: that.data.userInfo.userId,
         scene: that.data.scene,
         terminal: phone,
       },