功能:增加平台账号管理与管理员保护

This commit is contained in:
yml2213
2026-08-13 12:52:50 +08:00
parent 8c47b961e1
commit 2b3a1b111b
8 changed files with 167 additions and 10 deletions
+2
View File
@@ -53,6 +53,8 @@ export const userApi = {
request.post('/users', data).then((r) => r.data.data as User),
updateStatus: (id: number, status: number) =>
request.patch(`/users/${id}/status`, { status }).then((r) => r.data.data),
remove: (id: number) =>
request.delete(`/users/${id}`).then((r) => r.data.data),
}
export const merchantApi = {