更新客户管理模块
This commit is contained in:
@@ -10,15 +10,20 @@ export async function updateCust(data: {
|
||||
phone: string
|
||||
email: string
|
||||
}) {
|
||||
return callByUser<PageRecord<Cust>>("/api/admin/user/updateCust", data)
|
||||
return callByUser<PageRecord<Cust>>("/api/admin/user/update", data)
|
||||
}
|
||||
|
||||
export async function createCust(data: {
|
||||
username: string
|
||||
password: string
|
||||
username: string
|
||||
phone: string
|
||||
admin_id?: number
|
||||
discount_id?: number
|
||||
email?: string
|
||||
name?: string
|
||||
avatar?: string
|
||||
status?: number
|
||||
contact_qq?: string
|
||||
contact_wechat?: string
|
||||
}) {
|
||||
return callByUser<PageRecord<Cust>>("/api/admin/user/create", data)
|
||||
|
||||
Reference in New Issue
Block a user