对接接口

This commit is contained in:
wangxiaowei
2025-12-18 15:28:00 +08:00
parent 63d8e04465
commit ee681133b8
15 changed files with 715 additions and 585 deletions

View File

@ -21,6 +21,7 @@ export interface IUpdateUserInfoParams {
mobile?: number
band_mobile?: string
password?: string
code?: string
}
export function updateUserInfo(data: IUpdateUserInfoParams) {
@ -57,4 +58,18 @@ export interface IGetStoreVerificationCodeParams {
export function getVerificationCode(data: IGetStoreVerificationCodeParams) {
return http.Post('/storeapi/sms/sendCode', data)
}
/**
* 重置密码
*/
export interface IResetPasswordParams {
mobile: string
code: string
password: string
password_confirm: string
}
export function resetPassword(data: IResetPasswordParams) {
return http.Post('/storeapi/storeLogin/resetPassword', data)
}