对接接口
This commit is contained in:
@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user