Commit Graph

33 Commits

Author SHA1 Message Date
03117b827b feat: portal tenant apply flow 2025-12-25 11:12:11 +08:00
0c7d4ef0ea feat: portal auth login and password reset 2025-12-25 09:58:34 +08:00
fd9e54e9f4 feat: 添加用户注册功能,包括表单验证和路由注册 2025-12-24 22:46:50 +08:00
87f569cc6a feat: add tenant admin invite management, ledger overview, order details, and order management features
- Implemented Invite management with creation, searching, and disabling functionalities.
- Added Ledger overview for financial transactions with filtering options.
- Developed Order Detail view for individual order insights and refund capabilities.
- Created Orders management page with search, reset, and pagination features.
- Enhanced user experience with toast notifications for actions and error handling.
2025-12-24 19:41:44 +08:00
d60c1e9312 feat: add content management feature for superadmin
- Implemented API endpoint for fetching content list with filtering, sorting, and pagination.
- Added DTOs for content items and tenant information.
- Created frontend components for content management, including search and data table functionalities.
- Updated routing to include content management page.
- Enhanced the superadmin menu to navigate to the new content management section.
- Included necessary styles and scripts for the new content management interface.
2025-12-24 16:24:50 +08:00
568f5cda43 feat: add tenant content management features for superadmin
- Implemented API endpoints for listing tenant contents and updating content status.
- Added Swagger documentation for new endpoints:
  - GET /super/v1/tenants/{tenantID}/contents
  - PATCH /super/v1/tenants/{tenantID}/contents/{contentID}/status
- Created DTOs for content item and status update form.
- Enhanced frontend to support content management in the tenant detail page.
- Added search and filter functionalities for tenant contents.
- Implemented unpublish functionality with confirmation dialog.
- Updated service layer to handle new content management logic.
2025-12-24 16:10:07 +08:00
8fa321dbf6 feat: add TenantDetail and UserDetail views with comprehensive functionality
- Implemented TenantDetail.vue to display tenant information, manage tenant status, and handle tenant renewals.
- Added user management features in UserDetail.vue, including user status updates and role management.
- Integrated data loading for tenant users and orders in TenantDetail.vue.
- Included search and pagination functionalities for owned and joined tenants in UserDetail.vue.
- Enhanced user experience with toast notifications for success and error messages.
2025-12-24 15:10:49 +08:00
a80c9b759b feat: 移除“租户管理员为用户充值 / 每租户一套余额”能力:余额统一为全局用户余额 2025-12-23 10:59:59 +08:00
5dc0f89ac0 feat: add operator and business reference fields to tenant ledgers
- Added `operator_user_id`, `biz_ref_type`, and `biz_ref_id` fields to the TenantLedger model for enhanced auditing and traceability.
- Updated the tenant ledgers query generation to include new fields.
- Introduced new API endpoint for retrieving tenant ledger records with filtering options based on the new fields.
- Enhanced Swagger documentation to reflect the new endpoint and its parameters.
- Created DTOs for admin ledger filtering and item representation.
- Implemented the admin ledger retrieval logic in the tenant service.
- Added database migration scripts to introduce new fields and indexes for efficient querying.
2025-12-22 21:35:10 +08:00
2cc823d3a8 feat: Introduce MediaAssetVariant for better asset management
- Added MediaAssetVariant enum with values 'main' and 'preview'.
- Updated media asset service logic to utilize MediaAssetVariant for variant handling.
- Refactored database models and queries to include variant and source_asset_id fields.
- Enhanced validation for asset variants in upload and processing functions.
- Updated Swagger documentation to reflect new variant structure and descriptions.
- Implemented necessary database migrations to support the new variant constraints.
2025-12-22 19:27:31 +08:00
ad82de3939 feat: 添加媒体资产变体和来源ID字段,支持预览产品与主资产的关联 2025-12-22 17:56:08 +08:00
335a546aab feat: 添加媒体播放功能,支持基于短时效token的播放入口及相关API接口 2025-12-22 17:44:25 +08:00
70bba28492 feat: 添加媒体资源软删除API接口及相关文档 2025-12-22 17:25:03 +08:00
bcee0e06fe feat: 添加媒体资源管理相关API接口及数据结构,包括列表和详情查询 2025-12-22 17:20:13 +08:00
76f639b3f3 feat: 添加媒体资产上传初始化和完成相关API接口及数据结构 2025-12-22 17:02:53 +08:00
7eb7b14557 feat: 添加公开内容相关API接口及测试用例 2025-12-22 16:33:35 +08:00
17d51d5ed2 tenant: admin batch topup 2025-12-19 13:55:20 +08:00
86a1a0a2cc tenant: admin order export csv 2025-12-19 09:11:28 +08:00
549339be74 tenant: admin orders sort whitelist 2025-12-18 23:36:57 +08:00
71bd15024e tenant: extend admin order filters 2025-12-18 23:22:37 +08:00
ec4506fd2d tenant: add invites and join requests 2025-12-18 18:27:23 +08:00
462bde351d tenant: move admin member queries into service 2025-12-18 18:03:32 +08:00
de574bbd9d tenant: add member management APIs 2025-12-18 17:29:17 +08:00
e268176af5 feat: 增加订单过滤功能,支持按内容ID、支付时间范围和支付金额范围筛选 2025-12-18 16:46:40 +08:00
3249e405ac feat: add balance and ledger endpoints for tenant
- Implemented MyBalance and MyLedgerPage methods in the ledger service to retrieve current user balance and transaction history for a specified tenant.
- Added corresponding test cases for MyBalance and MyLedgerPage methods in the ledger test suite.
- Created DTOs for balance response and ledger items to structure the response data.
- Updated Swagger documentation to include new endpoints for retrieving tenant balance and ledgers.
- Added HTTP tests for the new endpoints to ensure proper functionality.
2025-12-18 16:24:37 +08:00
a232e73358 feat: 添加租户成员充值功能及相关文档 2025-12-18 14:09:08 +08:00
1da84f2af3 feat: add TenantLedger model and query generation
- Introduced TenantLedger model with fields for managing tenant transactions, including ID, TenantID, UserID, OrderID, transaction Type, Amount, and balance details.
- Implemented CRUD operations for TenantLedger with methods for Create, Update, Delete, and Reload.
- Generated query methods for TenantLedger to facilitate database interactions, including filtering, pagination, and aggregation functions.
- Established relationships with Order model for foreign key references.
2025-12-18 13:12:26 +08:00
674c562831 feat: follow llm.txt 2025-12-18 10:27:40 +08:00
e4c8deaacf feat: 添加用户统计功能,包括统计接口和相关数据结构 2025-12-17 14:57:03 +08:00
d5de64d6cf feat: 添加用户和租户状态管理功能,包括状态列表和状态更新接口 2025-12-17 13:54:52 +08:00
14842d989c feat: add user_list 2025-12-17 13:24:32 +08:00
9bc2155008 fix: swagger 2025-12-16 17:11:49 +08:00
28ab17324d init 2025-12-15 17:55:32 +08:00