瀏覽代碼

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

achao 2 年之前
父節點
當前提交
8f92ee9c9c
共有 1 個文件被更改,包括 2 次插入1 次删除
  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)) {
 					that.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
-							phone: this.phone
+							phone: this.phone,
+							flag: 3
 						}).then(res => {
 							if (res.code == 200) {
 								that.codestatus = false