feat: 内容管理

This commit is contained in:
2025-10-29 17:10:53 +08:00
parent 476ee7a754
commit 4c628fee22
67 changed files with 8210 additions and 4494 deletions

View File

@@ -13,13 +13,10 @@ 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/",
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
target: 'https://petshy.tashowz.com',
changeOrigin: true,
},
},
@@ -29,17 +26,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: 'https://petshy.tashowz.com/',
changeOrigin: true,
pathRewrite: { "^": "" },
pathRewrite: { '^': '' },
},
},
};