feat: 分析模块、接口管理及其他功能优化

- 后端: WebMvcConfig/拦截器/AnalyticsService/Mapper/测试优化,新增 Knife4jConfig、AnalyticsDictionary、数据库迁移脚本
- 前端: 分析仪表盘 UI 优化、接口管理列表及详情测试面板
- 小程序: analytics 服务优化、request 增强
- 文档: 分析模块中文标签设计文档、品牌重命名设计文档
- 部署: conf 配置优化、deploy.py 脚本更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 23:52:39 +08:00
parent d1a0018d1b
commit 9838e7626b
20 changed files with 1073 additions and 78 deletions
+5
View File
@@ -12,6 +12,8 @@ let pageEnterAt = {}
let flushTimer = null
let initialized = false
const runtimeRoot = typeof globalThis !== 'undefined' ? globalThis : {}
const now = () => Date.now()
const uuid = (prefix) => `${prefix}_${now()}_${Math.random().toString(36).slice(2, 10)}`
@@ -60,6 +62,9 @@ const safeProperties = (properties = {}) => {
export const initAnalytics = () => {
if (initialized) return
initialized = true
runtimeRoot.__emotionAnalyticsTrack = (eventName, properties = {}, options = {}) => {
track(eventName, properties, options)
}
sessionId = uuid('session')
loadQueue()
track('app_launch', {}, { eventType: 'app' })