From 273f8bff26ad7f14473fe00987d7893cb427bd09 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期四, 27 二月 2025 17:04:41 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide --- management/src/pages/setting/user/service.js | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/management/src/pages/setting/user/service.js b/management/src/pages/setting/user/service.js index 3546968..d300fa1 100644 --- a/management/src/pages/setting/user/service.js +++ b/management/src/pages/setting/user/service.js @@ -65,7 +65,7 @@ // 删除 export const del = async (id) => { - return request(`/api/huacheng-sangeshenbian/systemRole/delete/${id}`, { + return request(`/api/huacheng-sangeshenbian/systemUser/delete/${id}`, { method: 'DELETE', }); } @@ -121,4 +121,17 @@ return request(`/api/huacheng-sangeshenbian/systemUser/getAdministrativeDivision/${data.id}/${data.tier}`, { method: 'GET', }); +} + +// 冻结 +export const freezeApi = async (id) => { + return request(`/api/huacheng-sangeshenbian/systemUser/freeze/${id}`, { + method: 'PUT', + }); +} +// 解冻 +export const unfreezeApi = async (id) => { + return request(`/api/huacheng-sangeshenbian/systemUser/unfreeze/${id}`, { + method: 'PUT', + }); } \ No newline at end of file -- Gitblit v1.7.1