diff --git a/src/api/management/user.js b/src/api/management/user.js index 745eaffdc..ce58557c0 100644 --- a/src/api/management/user.js +++ b/src/api/management/user.js @@ -304,3 +304,22 @@ export function registerUserNew(data) { data }); } + +// 手机号是否已经注册 +export function isExistMobile(params) { + return request({ + url: `/api/userinfo/isExist/mobile`, + method: 'get', + params + }); +} + +// 手机号是否已经注册 +export function isExistEmail(params) { + return request({ + url: `/api/userinfo/isExist/email`, + method: 'get', + params + }); +} + diff --git a/src/views/login/registerUser.vue b/src/views/login/registerUser.vue index 8b295f373..cd7a71879 100644 --- a/src/views/login/registerUser.vue +++ b/src/views/login/registerUser.vue @@ -56,6 +56,7 @@ size="small" type="primary" style="margin-top: 10px; margin-right: 10px;" + :loading="sendVfcodeLoading" :disabled="passWordCodeTime != 0" @click="sendVfcodeFunc" > @@ -80,7 +81,7 @@