修复:管理员默认商户与账户设置
This commit is contained in:
@@ -40,6 +40,8 @@ export const authApi = {
|
||||
},
|
||||
changePassword: (data: { current_password: string; new_password: string }) =>
|
||||
request.put('/auth/password', data).then((r) => r.data.data),
|
||||
updateCurrentAccount: (data: { current_password: string; username: string; nickname?: string; new_password?: string }) =>
|
||||
request.put('/auth/account', data).then((r) => r.data.data as User),
|
||||
}
|
||||
|
||||
export const dashboardApi = {
|
||||
|
||||
Reference in New Issue
Block a user