From e846f54f05096d75fa129cf101c13cc955ecc8d1 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期四, 30 十一月 2023 17:07:44 +0800 Subject: [PATCH] 富文本上传附件功能 --- src/api/login.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index 85e37b4..0aa798c 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -82,4 +82,28 @@ params: path, timeout: 20000 }) +} + +// 校验用户名 +export function checkUserName(data) { + return request({ + url: '/system/user/checkUserNameUnique', + headers: { + isToken: false + }, + method: 'post', + data: data + }) +} + +// 校验手机号 +export function checkPhone(data) { + return request({ + url: '/system/user/checkPhoneUnique', + headers: { + isToken: false + }, + method: 'post', + data: data + }) } \ No newline at end of file -- Gitblit v1.9.2