优化管理端和卖家端登录

This commit is contained in:
paulGao
2022-01-17 18:00:49 +08:00
parent cf740d9605
commit 1bee69cefb
6 changed files with 47 additions and 11 deletions

View File

@@ -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);
};
// 登出