feat: 修改端口

This commit is contained in:
2025-11-11 23:51:17 +08:00
parent 5a4f528e4b
commit f7ca591f1c
12 changed files with 283 additions and 13 deletions

View File

@@ -0,0 +1,42 @@
/**
* API 统一导出入口
* 所有 API 服务都从这里导出,方便统一管理和使用
*/
// 配置
export { default as API_BASE, getApiUrl } from './config'
// HTTP 实例
export { default as http, default as request } from './http'
// 认证相关 API
export * from './auth'
// 聊天相关 API
export { ChatMessageApi } from './chat'
// 通用服务 API
export { CommonService } from './common'
export { default as CommonServiceDefault } from './common'
// TikHub API
export { TikhubService, default as TikhubServiceDefault } from './tikhub'
export { InterfaceType, MethodType, InterfaceUrlMap, ParamType } from './tikhub/types'
/**
* 统一导出所有 API 服务(便于按需导入)
*/
export default {
// 配置
config: () => import('./config'),
// HTTP 实例
http: () => import('./http'),
// API 服务
auth: () => import('./auth'),
chat: () => import('./chat'),
common: () => import('./common'),
tikhub: () => import('./tikhub'),
}