Commit Graph

223 Commits

Author SHA1 Message Date
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
9ef9642965 feat: 重构内容服务,优化数据预加载和用户互动功能;增加租户关注功能及相关测试用例 2025-12-30 09:17:13 +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
bdf20fb0c6 feat: 更新路由参数约定,要求数字ID路径参数在@Router注解中显式声明类型以确保正确匹配 2025-12-29 15:44:25 +08:00
9d598e7f9b feat: 重构内容和订单列表接口,使用过滤器结构体简化参数传递;更新相关服务和测试用例 2025-12-29 15:41:48 +08:00
fba77afec1 feat: 重构内容列表接口,使用过滤器结构体简化参数传递;更新相关服务和测试用例 2025-12-29 15:04:55 +08:00
8c4bc55f45 feat: update app errors 2025-12-29 14:54:05 +08:00
8fa3d18a9c Refactor order and tenant ledger models to use consts for Currency and Type fields; add new UserStatus values; implement comprehensive test cases for content, creator, order, super, and wallet services. 2025-12-29 14:21:20 +08:00
d648a1e45b feat: 更新用户、订单、媒体资产和租户模型,添加新的字段类型和结构体 2025-12-29 12:01:22 +08:00
0d0aee87b1 feat(llm): update 2025-12-29 12:01:08 +08:00
b78f1e1c84 feat(user): implement OTP login, user creation, and profile management
- Added SendOTP method for simulating OTP sending.
- Implemented LoginWithOTP method for user login/registration via OTP, including user creation if not found.
- Added Me method to retrieve current user information.
- Implemented Update method for updating user profile details.
- Added RealName method for real-name verification.
- Implemented GetNotifications method to fetch user notifications.
- Created user_test.go for comprehensive unit tests covering login, profile retrieval, updates, real-name verification, and notifications.
- Updated database models to use appropriate consts for fields like gender, status, and roles.
2025-12-29 10:55:13 +08:00
bc2064639f feat(llm): update 2025-12-29 10:54:43 +08:00
93a51a376c feat(llm): 更新开发规则,添加关于DTO和分页响应的JSON标签要求 2025-12-29 10:25:35 +08:00
60ff49d4c8 feat: 统一字段命名风格,使用下划线格式替代驼峰式命名 2025-12-29 10:20:53 +08:00
d482905157 feat: 更新内容相关接口,使用统一的分页响应结构 2025-12-29 10:14:47 +08:00
62262bbac2 feat: 更新数据库迁移脚本,添加用户、租户及内容相关表的详细注释 2025-12-29 09:56:37 +08:00
ad52371028 feat: implement new structure 2025-12-29 09:30:49 +08:00
503b15aab7 reset backend 2025-12-27 19:49:11 +08:00
77ac9d00b3 feat(creator): 优化管理概览和频道设置视图,提升用户体验和界面美观 2025-12-26 23:23:31 +08:00
7d11378436 feat(creator): 添加提现功能和账户设置,优化管理概览视图 2025-12-26 23:10:57 +08:00
107a95e57a feat(auth): 优化登录视图,调整手机号和验证码输入框样式,提升用户体验 2025-12-26 22:43:27 +08:00
4ba5f9e951 refactor: 调整通知视图的样式,优化标签和内容的排版,提升可读性 2025-12-26 22:30:11 +08:00
a6e737fdaf feat(portal): 更新主题视图,增加精选专题展示和响应式布局 2025-12-26 22:15:28 +08:00
83f725c0b2 feat(portal): 重构探索视图,增加筛选、排序和搜索功能,优化内容展示 2025-12-26 22:00:41 +08:00
29d35b3106 fix: 修复订单视图中的下拉选项错误,优化设置视图的布局和样式 2025-12-26 21:49:14 +08:00
d4716b979f feat(portal): add favorites and likes views; update user layout with new navigation links 2025-12-26 21:45:15 +08:00
7f8df6dad1 refactor: enhance HomeView layout and styling; improve PaymentView with new payment methods and QR code handling; clean up SecurityView by removing unused sections 2025-12-26 21:39:39 +08:00
d7ea411f25 feat(portal): redesign tenant home view with enhanced layout and interactive features 2025-12-26 19:24:40 +08:00
35b46386c7 feat(portal): enhance creator dashboard and order management with new layout and features 2025-12-26 19:10:40 +08:00
b40c529cd8 feat(portal): implement structural content detail page with opera specific features and paywall 2025-12-26 19:08:51 +08:00
8b75c80d1a feat(portal): refine channel settings page with single-column layout and improved tips 2025-12-26 19:01:56 +08:00
db72ce84da feat(portal): implement creator content management list with filters and status tracking 2025-12-26 18:33:55 +08:00
2232a46c9f feat(portal): completely refactor content publish page to structured form layout with multi-media support 2025-12-26 18:27:45 +08:00
6ad195b360 feat(portal): refine creator application page with simplified form and updated copy 2025-12-26 14:41:34 +08:00
eefcfc79a5 feat(portal): implement security settings page and register ConfirmationService 2025-12-26 14:09:57 +08:00
f8c312752e fix(portal): add tailwind @reference to ProfileView to fix build error 2025-12-26 11:46:06 +08:00
caaa8654b3 fix(portal): register ToastService to fix missing toast provider error 2025-12-26 11:45:57 +08:00
c2c9621e64 feat(portal): implement notification center with system message modal and interaction logic 2025-12-26 10:42:55 +08:00
6b71ac47d1 feat(portal): complete user center pages and refine interactive feedback 2025-12-26 10:25:26 +08:00
648e3f7c21 feat: 更新钱包页面,添加余额卡和交易明细功能 2025-12-26 09:42:51 +08:00
9ebb7e5452 feat: order page 2025-12-26 09:34:41 +08:00
15a5d94e83 fix: drop down menu issues 2025-12-26 09:21:58 +08:00
bcbd3327ea feat: add initial styling and layout for portal views
- Created a global CSS file for consistent styling across the application.
- Implemented the Explore, Home, Topics, and various user views with responsive design.
- Added a Login view with OTP functionality and a Checkout view for order processing.
- Developed a NotFound view for handling 404 errors.
- Established a configuration file for Vite with Tailwind CSS integration.
2025-12-26 09:18:41 +08:00
a4262b4a52 feat: 更新租户申请和管理页面的路由及布局信息 2025-12-25 23:57:40 +08:00
83e846f9dc feat: add pages 2025-12-25 23:52:41 +08:00
77453be40b feat: add pages 2025-12-25 17:40:40 +08:00
f27e9c5d30 fix: always show publish in topbar 2025-12-25 15:17:21 +08:00
83ff116ea5 feat: show publish action for tenant admins 2025-12-25 15:05:05 +08:00
4bf23e1f4a feat: tenant management api paths 2025-12-25 14:55:02 +08:00
20f9b3cf1f refactor: portal admin routes to management 2025-12-25 14:33:23 +08:00