diff --git a/apis/interfaces/auth.js b/apis/interfaces/auth.js index 8be07db..c1c5f07 100644 --- a/apis/interfaces/auth.js +++ b/apis/interfaces/auth.js @@ -17,6 +17,15 @@ const smsAuth = (data) =>{ }) } +// 获取带有邀请码可填写的邀请码接口 +const getInvitationSms = (data) =>{ + return request({ + url: "user/auth/new_verify", + method: 'POST', + data: data + }) +} + // 获取验证码 const getSms = (data) =>{ return request({ @@ -51,6 +60,7 @@ const secretService = (name) =>{ export { smsAuth, + getInvitationSms, getSms, userFigure, createUser, diff --git a/pages/auth/auth.vue b/pages/auth/auth.vue index af96f97..0b624d1 100644 --- a/pages/auth/auth.vue +++ b/pages/auth/auth.vue @@ -13,8 +13,8 @@ - - + + @@ -32,16 +32,17 @@