Sfoglia il codice sorgente

注册接口添加invitationType=5参数

t_finder 1 mese fa
parent
commit
3fee267cef
1 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 2 5
      pages/activity/invite-user/invite-passive-user.vue

+ 2 - 5
pages/activity/invite-user/invite-passive-user.vue

@@ -163,6 +163,7 @@ export default {
         code: '', // 验证码
         activityId: '', // 活动ID
         invitationUserName: '', // 邀请人用户名
+        invitationType: 5,
       },
       submitting: false, // 提交按钮状态
       codeTime: 0, // 验证码倒计时
@@ -190,11 +191,7 @@ export default {
         if(!valid) return; // 校验不通过
 
         // 校验通过
-        let {msg} = await sendSmsCode(this, {
-          type: 'common',
-          // authorizationType: 7, // 登录类型
-          phone: this.form.phone,
-        },{ headers: { merchantSign: this.merchantSign }});
+        let {msg} = await sendSmsCode(this, { type: 'common', phone: this.form.phone },{ headers: { merchantSign: this.merchantSign }});
 
         this.codeObj.isFinish = false;
         this.$refs.countDown.reset();