更新客户管理的修改功能参数

This commit is contained in:
Eamon
2026-03-28 18:04:19 +08:00
parent 8c26d81846
commit 3387056ea9
6 changed files with 440 additions and 164 deletions

View File

@@ -7,8 +7,14 @@ export async function getPageCusts(params: { page: number; size: number }) {
}
export async function updateCust(data: {
id: number
phone: string
email: string
username?: string
email?: string
password?: string
admin_id?: number
discount_id?: number
status?: number
contact_qq?: string
contact_wechat?: string
}) {
return callByUser<PageRecord<Cust>>("/api/admin/user/update", data)
}