测试工具2增加设置验证码功能--活动id隐藏,不用传
Showing
1 changed file
with
5 additions
and
3 deletions
| ... | @@ -93,11 +93,13 @@ | ... | @@ -93,11 +93,13 @@ |
| 93 | </div> | 93 | </div> |
| 94 | <div class="text item"> | 94 | <div class="text item"> |
| 95 | <el-form-item> | 95 | <el-form-item> |
| 96 | <el-input placeholder="请输入手机号" v-model="queryPhoneCode222.phone" clearable></el-input> | 96 | <el-input placeholder="请输入手机号" v-model="smsCode.phone" clearable></el-input> |
| 97 | </el-form-item> | 97 | </el-form-item> |
| 98 | <!-- | ||
| 98 | <el-form-item> | 99 | <el-form-item> |
| 99 | <el-input placeholder="请输入活动id" v-model="queryPhoneCode222.actid" clearable></el-input> | 100 | <el-input placeholder="请输入活动id" v-model="queryPhoneCode222.actid" clearable></el-input> |
| 100 | </el-form-item> | 101 | </el-form-item> |
| 102 | --> | ||
| 101 | <div style="margin: 15px 0;"></div> | 103 | <div style="margin: 15px 0;"></div> |
| 102 | <el-form-item> | 104 | <el-form-item> |
| 103 | <el-button round @click="queryPhoneCodeSubmitactadd">设置验证码</el-button> | 105 | <el-button round @click="queryPhoneCodeSubmitactadd">设置验证码</el-button> |
| ... | @@ -588,8 +590,8 @@ | ... | @@ -588,8 +590,8 @@ |
| 588 | } | 590 | } |
| 589 | } | 591 | } |
| 590 | this.$http.get('/tool2/setActCode?'+this.$qs.stringify({ | 592 | this.$http.get('/tool2/setActCode?'+this.$qs.stringify({ |
| 591 | phone: this.queryPhoneCode222.phone, | 593 | phone: this.smsCode.phone, |
| 592 | actid: this.queryPhoneCode222.actid.toString() | 594 | actid: '1102'//this.queryPhoneCode222.actid.toString() |
| 593 | }),config).then((res)=>{ | 595 | }),config).then((res)=>{ |
| 594 | console.log(res); | 596 | console.log(res); |
| 595 | if(res.data=='codenull') { | 597 | if(res.data=='codenull') { | ... | ... |
-
Please register or sign in to post a comment