fix: 优化中药开方功能
This commit is contained in:
@@ -48,6 +48,14 @@ export async function deleteAdmin(data: Record<string, any>) {
|
||||
return requestClient.post<any>(`${prefix}delete`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改密码
|
||||
* @param data
|
||||
*/
|
||||
export async function updatePassword(data: Record<string, any>) {
|
||||
return requestClient.post<any>(`${prefix}update-password`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除管理员
|
||||
* @param id
|
||||
|
||||
Reference in New Issue
Block a user