补充个人中心页面api & 首页弹唱查看活动 & 联系客服
This commit is contained in:
@@ -45,17 +45,15 @@ export async function updateUserProfile(
|
||||
|
||||
// ==================== 个人中心资料/密码(.NET /user/*,cookie 会话) ====================
|
||||
|
||||
// 编辑资料:老项目 /user/UpdateInfo(QQ/Wx/TaoBao/Email)
|
||||
export async function updateUserInfo(data: {
|
||||
QQ: string
|
||||
Wx: string
|
||||
TaoBao: string
|
||||
// TaoBao: string
|
||||
Email: string
|
||||
}): Promise<ApiResponse<undefined>> {
|
||||
return await callPublic<undefined>("/user/UpdateInfo", data)
|
||||
}
|
||||
|
||||
// 修改密码:老项目 /user/UpdatePwd(OldPwd/NewPwd/ConfirmPwd)
|
||||
export async function updateUserPwd(data: {
|
||||
OldPwd: string
|
||||
NewPwd: string
|
||||
|
||||
Reference in New Issue
Block a user