فهرست منبع

用户id发送验证码

lucheng 1 سال پیش
والد
کامیت
53f63af07b
3فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 1 0
      pages/bindPhone/bindPhone.js
  2. 0 4
      pages/forget/forget.js
  3. 1 0
      pages/ucenter/accountsecurity/unbindphone/unbindphone.js

+ 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,
       },