From fa39606861f0b4702dd31a0c8b731678dc7ab8a7 Mon Sep 17 00:00:00 2001 From: huangyuxuan Date: Wed, 23 Oct 2024 14:30:25 +0800 Subject: [PATCH] =?UTF-8?q?(hyx=5F2024-10-23=5Ftongbu)=20=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=90=8D=EF=BC=8C=E8=BA=AB=E4=BB=BD=E8=AF=81=E5=8F=B7?= =?UTF-8?q?=E4=B8=AD=E5=8F=B0=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 4 ++-- pages/mine/information/index.vue | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/index.js b/api/index.js index 678aa19..75cb12c 100644 --- a/api/index.js +++ b/api/index.js @@ -1,8 +1,8 @@ import {post, upload, uploads} from "../utils/request"; export const submitLogin = (params) => post("/app/admin/check", params) // 登录 -export const getIDCardDeduplication = (params) => post("/app/user/hasCardIdForApp", params) // 身份证去重 -export const getUserDeduplication = (params) => post("/app/user/hasUserNameForApp", params) // 用户名去重 +export const getIDCardDeduplication = (params) => post("/app/user/goCheck", params) // 身份证去重 +export const getUserDeduplication = (params) => post("/app/user/goCheck", params) // 用户名去重 export const getPhoneNumberDeduplication = (params) => post("/app/user/hasPhoneForApp", params) // 手机号去重 export const setRegister = (params) => post("/app/admin/register", params) // 注册 export const setForgotPassword = (params) => post("/app/admin/forgetPassword", params) // 忘记密码 diff --git a/pages/mine/information/index.vue b/pages/mine/information/index.vue index 6b55625..80aaf8e 100644 --- a/pages/mine/information/index.vue +++ b/pages/mine/information/index.vue @@ -16,7 +16,7 @@ - +