From b7143b51f3a50b6fac9c139d291c1fad017daee6 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期五, 08 十二月 2023 15:50:50 +0800 Subject: [PATCH] 使用tinymce富文本 --- src/api/login.js | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index 85e37b4..804aaea 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -30,6 +30,14 @@ data: data }) } +// 编辑机构 +export function editAgency(data) { + return request({ + url: `/system/user/editAgency`, + method: 'put', + data: data + }) +} // 获取用户详细信息 export function getInfo() { @@ -82,4 +90,28 @@ params: path, timeout: 20000 }) -} \ No newline at end of file +} + +// 校验用户名 +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 + }) +} -- Gitblit v1.9.2