商家端刷新token 路径修改

master
lemon橪 2022-06-07 10:22:11 +08:00
parent 0e921de6c3
commit 14d720beed
1 changed files with 2 additions and 5 deletions

View File

@ -45,10 +45,7 @@ export const userInfo = params => {
export const userMsg = params => {
return getRequest('/settings/storeSettings', params)
}
// 注册
export const regist = params => {
return postRequest("/user/regist", params);
};
// 初始化验证码
export const initCaptcha = params => {
return getRequestWithNoToken("/common/captcha/init", params);
@ -265,7 +262,7 @@ export const delGoodsUnit = (ids) => {
//
export const handleRefreshToken = (token) => {
return getRequestWithNoToken(`/login/refresh/${token}`);
return getRequestWithNoToken(`/passport/login/refresh/${token}`);
};