一些问题的修复

This commit is contained in:
xiaowang
2026-03-19 14:43:57 +08:00
parent 3527e248d1
commit b09c3432d3
22 changed files with 1760 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
// API配置文件
// 提取域名和端口,方便后续修改
export const API_CONFIG = {
domain: 'http://127.0.0.1',
port: '8088',
basePath: '/api',
adminBasePath: '/admin/api'
}
export const API_BASE_URL = `${API_CONFIG.domain}:${API_CONFIG.port}${API_CONFIG.basePath}`
export const ADMIN_API_BASE_URL = `${API_CONFIG.domain}:${API_CONFIG.port}${API_CONFIG.adminBasePath}`