Commit d954efea authored by tyn's avatar tyn

fix

parent 8d08a2a7
...@@ -37,6 +37,7 @@ export const checkUser = (data) => network({ ...@@ -37,6 +37,7 @@ export const checkUser = (data) => network({
export const loginApi = (data) => network({ export const loginApi = (data) => network({
url: "/login", url: "/login",
method: "post", method: "post",
data
}); });
export const loginOutApi = () => network({ export const loginOutApi = () => network({
...@@ -48,7 +49,6 @@ export const getUserInfoApi = () => network({ ...@@ -48,7 +49,6 @@ export const getUserInfoApi = () => network({
url: "/getInfo", url: "/getInfo",
method: "get" method: "get"
}); });
//��Ӧ������
export const getCategoryList = (data) => network({ export const getCategoryList = (data) => network({
url: "/category/list/tree", url: "/category/list/tree",
method: "post", method: "post",
......
...@@ -91,8 +91,8 @@ module.exports = defineConfig({ ...@@ -91,8 +91,8 @@ module.exports = defineConfig({
open: true, open: true,
proxy: { proxy: {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
//target: `http://139.9.157.49:8088`, target: `http://139.9.157.49:8088`,
target: `http://192.168.60.172:8188`, // target: `http://192.168.60.172:8188`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment