Commit Graph

286 Commits

Author SHA1 Message Date
ce95865f92 feat: enrich content item fields 2026-01-08 11:30:31 +08:00
054a4f414a feat: add tenant info to super content list 2026-01-08 11:20:20 +08:00
109b0ce012 feat: add super order detail snapshot 2026-01-08 11:15:42 +08:00
8c8e712cbb feat: map super content list 2026-01-08 11:05:37 +08:00
87b32063f6 feat: add super admin auth 2026-01-08 10:12:18 +08:00
d98f41f1ac feat: align ids to int64 2026-01-08 09:57:04 +08:00
a1de16bc01 fix: resolve frontend build error and order refund bug, add member price filter 2026-01-07 21:49:04 +08:00
5b45f7d5c4 feat: 添加租户列表接口,优化租户相关功能;更新前端租户列表和收藏功能 2026-01-07 16:10:03 +08:00
1298192157 feat: 添加点赞和收藏功能,优化内容详情视图和评论交互 2026-01-07 14:43:52 +08:00
f355b26920 feat: 优化内容展示区域,移除加载更多按钮 2026-01-06 17:10:00 +08:00
ab5bc8d41a feat: 添加内容创建时间字段,优化内容列表和详情视图;添加创作者内容列表接口;优化上传和删除功能 2026-01-06 17:03:11 +08:00
1723802722 feat: 添加内容排序功能,优化内容列表查询和加载状态处理 2026-01-06 15:28:12 +08:00
31d6192816 feat: 添加内容可见性字段和过滤选项,优化内容列表查询功能 2026-01-06 10:04:50 +08:00
1d53d9560e feat: 添加内容创建时间字段,优化内容列表和详情视图,更新价格获取逻辑 2026-01-05 19:22:04 +08:00
454f6809b0 feat: 添加内容置顶过滤选项,更新内容列表查询功能;添加创作者设置 ID 字段;优化租户信息获取逻辑;更新租户 API 接口 2026-01-05 17:10:25 +08:00
67c6c3cccb feat: 添加内容删除前检查,确保内容未被购买 2026-01-05 13:00:12 +08:00
c231847f81 feat: 添加内容置顶功能,更新相关数据模型和前端视图 2026-01-05 12:54:26 +08:00
a5cc9b13d6 feat: 添加主定调过滤选项,优化内容列表查询功能 2026-01-05 09:19:39 +08:00
637ff7110d feat: 更新内容视图和编辑视图,支持动态曲种选项和标签显示 2026-01-05 09:07:13 +08:00
113f9c8d3c feat: 添加内容创建表单状态字段,优化内容保存和发布逻辑 2026-01-04 21:45:42 +08:00
4b32e64d35 feat: 更新内容管理功能,支持价格为可选字段,添加状态管理及媒体计数显示 2026-01-04 19:56:53 +08:00
581cbc3991 feat: 实现创作者频道设置功能及收款账户管理 2026-01-04 19:25:21 +08:00
df08e148ce feat: 添加媒体资产文件名支持,优化上传和内容获取逻辑 2026-01-04 19:09:34 +08:00
5496c776df feat: 优化编辑器 UI 和文件名显示,支持全屏编辑模式 2026-01-04 18:21:19 +08:00
5fd33745b3 feat: 更新媒体上传状态显示,添加上传进度和状态文本,优化用户体验 2026-01-04 17:46:13 +08:00
03773b6205 feat: 优化文件上传功能,支持上传进度显示和中止上传,更新封面和媒体项处理逻辑 2026-01-04 15:41:34 +08:00
2438d363f5 feat: 实现多部分上传功能,支持初始化、上传部分、完成和中止上传,添加媒体资产删除功能 2026-01-04 15:20:06 +08:00
2ab1238ef7 ui: remove auto-save status indicator from content editor 2026-01-04 14:13:36 +08:00
221b068a84 feat: add file deduplication and hash checking for uploads
- Implemented SHA-256 hashing for uploaded files to enable deduplication.
- Added CheckHash method to verify if a file with the same hash already exists.
- Updated Upload method to reuse existing media assets if a duplicate is found.
- Introduced a new hash column in the media_assets table to store file hashes.
- Enhanced the upload process to include progress tracking and hash calculation.
- Modified frontend to check for existing files before uploading and to show upload progress.
- Added vuedraggable for drag-and-drop functionality in the content editing view.
2025-12-31 19:16:02 +08:00
f560b95ec0 feat: 更新内容创建和更新表单,支持封面ID和媒体ID字段 2025-12-31 17:57:30 +08:00
5ed6262e02 fix: upload image issues 2025-12-31 17:42:51 +08:00
5a364a995a feat: 更新上传接口,使用新的上传表单结构并添加价格字段 2025-12-31 16:41:19 +08:00
b82a69689d feat: 添加音乐键位字段,更新相关数据结构和接口 2025-12-31 16:01:20 +08:00
984770c6a1 feat(editor): update 2025-12-31 14:50:18 +08:00
20e1a2fa19 feat: 添加获取全局选项接口,支持动态状态和曲种选择 2025-12-31 12:31:52 +08:00
111d0978a3 feat: 优化提现功能,动态显示可提现金额和绑定账户信息 2025-12-31 12:24:33 +08:00
c133169c7b feat: 更新订单和用户视图,增强订单信息展示,支持充值类型订单 2025-12-31 12:19:01 +08:00
95bc5bdb5d feat: 更新钱包充值逻辑,自动处理充值订单支付,模拟支付成功返回 2025-12-31 12:00:38 +08:00
a6b870bc8f feat: 添加 dayjs 依赖并优化钱包视图,增强日期格式化和交易记录显示 2025-12-30 23:39:55 +08:00
798be672bc refactor: 优化交易类型判断逻辑,使用switch语句增强可读性 2025-12-30 23:31:41 +08:00
cc5ace114a refactor: 优化代码格式,增强可读性 2025-12-30 23:30:00 +08:00
317db2daad feat: 更新服务方法,显式接受用户ID参数,简化上下文调用 2025-12-30 23:23:56 +08:00
e6a8e3f321 feat: 更新用户上下文处理,服务方法显式接受用户参数,简化上下文调用 2025-12-30 23:01:35 +08:00
54de243fa1 feat: Refactor user context handling and service methods
- Updated middleware to fetch user and tenant models by ID and set them in context.
- Refactored common service methods to accept userID as a parameter instead of extracting from context.
- Modified content service methods to include userID as a parameter for better clarity and performance.
- Adjusted coupon, creator, notification, order, tenant, user, and wallet services to utilize userID directly.
- Enhanced context key constants for improved readability and maintainability.
2025-12-30 22:49:26 +08:00
619f7a69a7 feat: 强制在控制器层提取context.Context中的数据,服务方法需接受显式参数 2025-12-30 22:18:52 +08:00
e5064db577 refactor: 移除不必要的上下文调用,简化服务方法参数 2025-12-30 22:14:22 +08:00
c8f6cb0b34 feat(auth): 添加401未授权处理,清除token并重定向到登录页面 2025-12-30 22:14:11 +08:00
7a8c5c4427 feat(user): 修改OTP登录验证码为"1234"以增强安全性
feat(main): 添加种子命令以初始化数据库数据
feat(consts): 添加创作者角色常量
feat(profile): 更新用户资料页面以支持从API获取用户信息
feat(library): 实现用户库页面以获取已购内容并显示状态
feat(contents): 更新内容编辑页面以支持文件上传和自动保存
feat(topnavbar): 优化用户头像显示逻辑以支持动态加载
2025-12-30 21:55:48 +08:00
ff22ca1264 feat(storage): 添加默认存储提供者以支持存储功能 2025-12-30 21:18:29 +08:00
cf29a2bf1a feat(auth): implement OTP login flow with toast notifications
feat(content): enhance detail view with dynamic content and comments
feat(order): add polling for payment status in the payment view
feat(user): update dashboard to display wallet and recent orders
feat(user): improve orders view with dynamic order fetching and status mapping
feat(api): create API modules for auth, content, order, user, and common functionalities
refactor(request): implement a centralized request utility for API calls
2025-12-30 21:15:13 +08:00