Commit Graph

29 Commits

Author SHA1 Message Date
7fca7a40e7 feat: add creator member management 2026-01-17 20:42:43 +08:00
4f315cc2db feat: implement coupon management and receive flow 2026-01-13 18:19:29 +08:00
19b15bf20a feat: add creator report overview export 2026-01-13 11:44:29 +08:00
2a670b3a78 feat: add tenant membership flow 2026-01-13 10:26:11 +08:00
2c6f4163c5 fix: restrict order status to owner 2026-01-09 17:34:18 +08:00
3e095c57f3 feat: tenant-scoped routing and portal navigation 2026-01-08 21:30:46 +08:00
edbb62449b fix: stabilize backend tests 2026-01-08 14:07:58 +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
ab5bc8d41a feat: 添加内容创建时间字段,优化内容列表和详情视图;添加创作者内容列表接口;优化上传和删除功能 2026-01-06 17:03:11 +08:00
2438d363f5 feat: 实现多部分上传功能,支持初始化、上传部分、完成和中止上传,添加媒体资产删除功能 2026-01-04 15:20:06 +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
5a364a995a feat: 更新上传接口,使用新的上传表单结构并添加价格字段 2025-12-31 16:41:19 +08:00
984770c6a1 feat(editor): update 2025-12-31 14:50:18 +08:00
20e1a2fa19 feat: 添加获取全局选项接口,支持动态状态和曲种选择 2025-12-31 12:31:52 +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
6d7f4ad1c6 feat(auth): 重构认证模块,添加OTP发送和登录功能 2025-12-30 18:10:24 +08:00
2c633dac0f feat: 添加用户优惠券列表接口及相关数据结构 2025-12-30 17:53:27 +08:00
b969218208 feat(storage): 实现本地存储功能,包括文件上传和下载接口 2025-12-30 17:14:03 +08:00
ee1acae3ed feat: 实现平台抽成、提现审批、异步任务集成及安全审计功能 2025-12-30 14:54:19 +08:00
5cf2295f91 feat: Implement notification service and integrate with user interactions
- Added notification service to handle sending and listing notifications.
- Integrated notification sending on user follow and order payment events.
- Updated user service to include fetching followed tenants.
- Enhanced content service to manage access control for content assets.
- Implemented logic for listing content topics based on genre.
- Updated creator service to manage content updates and pricing.
- Improved order service to include detailed order information and notifications.
- Added tests for notification CRUD operations and order details.
2025-12-30 09:57:12 +08:00
33e1921e17 Refactor super module: Move HTTP handlers to new super/v1 package
- Deleted old super.go file and moved all related HTTP handlers to new package structure under backend/app/http/super/v1.
- Updated service imports in super.go and super_test.go to reflect new DTO paths.
- Created new auth, contents, orders, tenants, and users handlers with corresponding routes and methods.
- Added new DTO definitions for authentication and content management in the super/v1/dto directory.
- Implemented new migration for content_access table and created model for it.
2025-12-29 17:17:07 +08:00
9d598e7f9b feat: 重构内容和订单列表接口,使用过滤器结构体简化参数传递;更新相关服务和测试用例 2025-12-29 15:41:48 +08:00
fba77afec1 feat: 重构内容列表接口,使用过滤器结构体简化参数传递;更新相关服务和测试用例 2025-12-29 15:04:55 +08:00
ad52371028 feat: implement new structure 2025-12-29 09:30:49 +08:00
9bc2155008 fix: swagger 2025-12-16 17:11:49 +08:00
28ab17324d init 2025-12-15 17:55:32 +08:00