Commit Graph

52 Commits

Author SHA1 Message Date
c2e2a64416 优化 2026-03-07 16:48:59 +08:00
dff90abbb4 feat: 功能 2026-03-05 23:21:00 +08:00
c07a61c424 优化 2026-03-05 21:01:34 +08:00
27d1c53b49 feat(material): remove video cover extraction and simplify upload API
- Remove extractVideoCoverOptional function and related video cover processing
- Update MaterialService.uploadFile method signature to remove coverBase64 parameter
- Simplify uploadAndIdentifyVideo function by removing cover generation logic
- Remove loading indicator from VideoSelector component during video preview
- Add presignGetUrlWithProcess method to FileClient interface for processed file URLs
- Add logging support to S3FileClient implementation
2026-03-04 22:37:31 +08:00
3bbb28677b feat(point-record): add status filter for point record queries
- Change API endpoint from APP_MEMBER to APP_TIK for point record requests
- Add status parameter to filter only confirmed records in frontend
- Update fetchPointRecords function to pass status: 'confirmed' by default
- Modify handleTableChange function signature to accept page and pageSize directly
- Add new business type mappings for AI-related services (dify_chat, voice_tts, tikhub_fetch, forecast_rewrite)
- Remove redundant reason display and status tag from record items
- Add status field to backend query conditions in PointRecordMapper
- Include status parameter in PointRecordPageReqVO with proper schema documentation
2026-02-26 21:41:55 +08:00
2d96e8ca4e refactor(agent): 优化收藏功能代码实现
- 前端移除未使用的 ArrowRightOutlined 导入
- 优化智能体列表排序逻辑,避免修改原数组
- 后端使用 Stream API 简化收藏智能体 ID 获取逻辑
2026-02-26 20:17:00 +08:00
d429dc887a feat: add agent favorite functionality with UI and API implementation
- Add `addFavorite` and `removeFavorite` API functions in agent.js
- Implement favorite button UI in Agents.vue with star icons
- Add login check before favorite operations using token manager
- Sort agents with favorites appearing at the top of the list
- Include success/error messages for user feedback
- Add backend API endpoints for creating/deleting agent favorites
- Update agent list response to include favorite status
- Style favorite button with hover and active states
2026-02-26 20:15:24 +08:00
b76e3ff47d feat: 优化 2026-02-26 18:52:09 +08:00
79a5c1f3ed feat: 配额优化 2026-02-25 21:30:24 +08:00
2e93211697 dify历史记录 2026-02-25 18:21:25 +08:00
420f78b2cf 优化 2026-02-25 02:11:04 +08:00
7285534405 feat: 热点改进 2026-02-25 01:24:57 +08:00
cfaf8cab49 feat: 优化 2026-02-24 23:58:17 +08:00
7a4175802f fix: 修复问题 2026-02-23 14:53:19 +08:00
af23c8779e 增加个人中心 2026-02-23 02:27:32 +08:00
5b3047f675 优化 2026-02-23 02:05:48 +08:00
c8598d3dea 优化 2026-02-23 01:04:00 +08:00
ff11f04b43 feat: 优化 2026-02-22 21:36:47 +08:00
0e1b6fe643 feat: 功能 2026-02-04 01:18:16 +08:00
33b748915d fix:问题 2026-02-02 02:39:40 +08:00
24f66c8e81 feat: 功能优化 2026-01-27 01:39:08 +08:00
567e77cd87 优化 2026-01-18 15:27:43 +08:00
a0378b5cbd feat: 优化 2026-01-18 02:55:02 +08:00
e0cf6092a9 feat: 功能优化 2026-01-18 00:34:04 +08:00
fecd47e25d feat: 功能优化 2026-01-17 14:43:42 +08:00
36195ea55a feat: 重构 IdentifyFace.vue 为 Hooks 架构
- 新增 hooks/ 目录,包含三个专用 Hook:
  * useVoiceGeneration - 语音生成和校验逻辑
  * useDigitalHumanGeneration - 数字人视频生成逻辑
  * useIdentifyFaceController - 协调两个子 Hook 的控制器

- 新增 types/identify-face.ts 完整类型定义

- 重构 IdentifyFace.vue 使用 hooks 架构:
  * 视图层与业务逻辑分离
  * 状态管理清晰化
  * 模块解耦,逻辑清晰

- 遵循单一职责原则,每个 Hook 只负责一个领域
- 提升代码可测试性和可维护性
- 支持两种视频素材来源:素材库选择和直接上传
- 实现语音生成优先校验的业务规则

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-28 00:19:17 +08:00
b80de78d7c feat: 前端优化 2025-12-21 22:24:16 +08:00
870ea10351 feat: 功能优化 2025-12-15 23:33:02 +08:00
7f7551f74f 混剪优化 2025-12-07 00:10:22 +08:00
0fffd787bb feat: 功能优化 2025-12-02 01:55:57 +08:00
900b47f585 可令对口型 2025-12-01 22:27:50 +08:00
853bedcb23 优化 2025-11-29 21:53:17 +08:00
d9f3103304 feat: 视频问题 2025-11-28 20:26:47 +08:00
36fb09feb6 refactor: 使用router.push替代window.location.href,实现SPA无刷新跳转
问题:
- 使用window.location.href会导致整页刷新,影响用户体验
- Vue应用应使用router.push实现单页应用内的路由跳转

修复:
1. http.js:
   - 导入router实例
   - 401错误:router.push('/login')
   - 403错误:router.push('/login')

2. AuthService.js:
   - 导入router实例
   - logout函数:router.push('/login')

效果:
- 页面跳转更流畅,用户体验更佳
- 保持应用状态,避免不必要的重新加载
- 符合Vue单页应用的最佳实践

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 01:19:56 +08:00
c9fb224936 refactor: 优化401/403错误处理逻辑,更符合常理
核心改进:
- 401错误:先尝试刷新token,刷新成功则标记后返回null交由上层重试
- 403错误:直接跳转到登录页
- 移除无用的options和httpClient参数
- 简化层次:client.js(清理) -> http.js(业务) -> AuthService(刷新)

具体变更:
1. client.js: handle401Error()只清空token,不处理重定向
2. http.js:
   - 401优先尝试刷新,失败才跳转登录页
   - 403直接跳转登录页
3. AuthService.js:
   - 刷新成功:标记error._handled=true, error._tokenRefreshed=true,返回null
   - 刷新失败:调用回调后抛出错误,交由上层处理跳转
   - 移除options和httpClient参数

逻辑更清晰:client清理token -> http处理逻辑 -> AuthService刷新token,职责分明

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 01:03:20 +08:00
fb6d18b4f5 feat: 重构HTTP客户端架构和认证系统
核心改进:
- HTTP客户端:工厂函数模式,支持自定义拦截器和401/403处理
- 认证服务:函数式实现,消除this绑定问题,支持业务码+HTTP状态码双通道
- Token管理:简化为直接实例导出,移除bind()和箭头函数包装
- 路由守卫:优化逻辑,移除冗余代码,更简洁易维护

技术亮点:
- 统一401/403错误处理(业务code和HTTP status双检查)
- 自动刷新token并重试请求,保留自定义拦截器
- 分层清晰:clientAxios (Mono) -> http (应用) -> AuthService
- 支持扩展:业务代码可创建自定义HTTP实例并添加拦截器

文件变更:
- 新增 AuthService.js (函数式) 和 Login.vue
- 重构 http.js、token-manager.js、router/index.js
- 删除 TokenInput.vue、utils/auth.js 等冗余文件
- 更新所有API调用点使用直接实例导入

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 00:58:51 +08:00
cea43dd635 混剪功能 2025-11-24 23:51:22 +08:00
8f3a73433f 代码问题 2025-11-23 01:02:47 +08:00
042531c68c 优化 2025-11-22 16:50:42 +08:00
a3cc6c6db0 优化功能 2025-11-22 00:25:29 +08:00
bd367c645b feat: 功能优化 2025-11-20 00:49:18 +08:00
f052b0af65 优化 2025-11-19 01:39:56 +08:00
wing
eee3206e90 send-stream 2025-11-19 00:15:18 +08:00
bd2e8b3291 feat: 优化 2025-11-16 22:59:26 +08:00
3a9e823375 feat: 功能优化 2025-11-16 22:09:41 +08:00
bdbe74cebb 功能优化 2025-11-16 19:35:55 +08:00
6624627802 feat: 功能优化 2025-11-14 02:15:14 +08:00
c652d0ddf3 提示词保存 2025-11-13 01:06:28 +08:00
fc7d2ccea5 feat: 功能 2025-11-12 22:45:29 +08:00
f7ca591f1c feat: 修改端口 2025-11-11 23:51:17 +08:00