Selaa lähdekoodia

注册发送验证码接口添加flag=3

achao 2 vuotta sitten
vanhempi
commit
8f92ee9c9c
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      pages/public/register.vue

+ 2 - 1
pages/public/register.vue

@@ -169,7 +169,8 @@
 				}
 				}
 				if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {
 				if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {
 					that.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
 					that.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
-							phone: this.phone
+							phone: this.phone,
+							flag: 3
 						}).then(res => {
 						}).then(res => {
 							if (res.code == 200) {
 							if (res.code == 200) {
 								that.codestatus = false
 								that.codestatus = false