feat: 类目管理

This commit is contained in:
2025-10-21 13:56:51 +08:00
parent 1e5ea1879b
commit 476ee7a754
155 changed files with 9496 additions and 1026 deletions

View File

@@ -13,11 +13,11 @@ export default {
// 如果需要自定义本地开发服务器 请取消注释按需调整
dev: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
'/admin-api/': {
"/admin-api/": {
// 要代理的地址
// http://192.168.1.231:48080 伟强
// https://petshy.tashowz.com/
target: 'https://petshy.tashowz.com/',
target: "https://petshy.tashowz.com/",
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
changeOrigin: true,
@@ -29,17 +29,17 @@ export default {
*/
test: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
'/api/': {
target: 'https://petshy.tashowz.com/',
"/api/": {
target: "https://petshy.tashowz.com/",
changeOrigin: true,
pathRewrite: { '^': '' },
pathRewrite: { "^": "" },
},
},
pre: {
'/api/': {
target: 'your pre url',
"/api/": {
target: "your pre url",
changeOrigin: true,
pathRewrite: { '^': '' },
pathRewrite: { "^": "" },
},
},
};