完善功能
This commit is contained in:
@ -131,4 +131,21 @@ export interface IGetUserMoneyLogParams {
|
||||
|
||||
export function getUserMoneyLog(data: IGetUserMoneyLogParams) {
|
||||
return http.Post<IOrderListResult>('/api/user/moneyLogList', data)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户信息
|
||||
*/
|
||||
export interface IUpdateUserInfoParams {
|
||||
field: string,
|
||||
value: string | number
|
||||
}
|
||||
|
||||
export function updateUserInfo(data: IUpdateUserInfoParams) {
|
||||
return http.Post('/api/user/setInfo', data)
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传头像
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user