mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
优化管理端和卖家端登录
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
importRequest,
|
||||
getRequestWithNoToken,
|
||||
putRequestWithNoForm,
|
||||
postRequestWithNoTokenData,
|
||||
postRequestWithNoForm,
|
||||
managerUrl
|
||||
} from "@/libs/axios";
|
||||
@@ -47,7 +48,7 @@ export const getNoticePage = (params) => {
|
||||
|
||||
// 登陆
|
||||
export const login = (params) => {
|
||||
return getRequestWithNoToken("/user/login", params);
|
||||
return postRequestWithNoTokenData("/user/login", params);
|
||||
};
|
||||
|
||||
// 登出
|
||||
|
||||
Reference in New Issue
Block a user