feat: 实现平台抽成、提现审批、异步任务集成及安全审计功能

This commit is contained in:
2025-12-30 14:54:19 +08:00
parent 5e8dbec806
commit ee1acae3ed
25 changed files with 985 additions and 60 deletions

View File

@@ -8,6 +8,7 @@ var _db *gorm.DB
// exported CamelCase Services
var (
Audit *audit
Common *common
Content *content
Creator *creator
@@ -23,6 +24,7 @@ var (
type services struct {
db *gorm.DB
// define Services
audit *audit
common *common
content *content
creator *creator
@@ -38,6 +40,7 @@ func (svc *services) Prepare() error {
_db = svc.db
// set exported Services here
Audit = svc.audit
Common = svc.common
Content = svc.content
Creator = svc.creator