feat: 初始化核心应用结构,新增循环交易、短信、分配规则和用户设置等服务,并更新相关依赖和配置。

This commit is contained in:
2026-02-02 01:41:51 +08:00
parent 49fcce531d
commit fa8a35a85b
13 changed files with 253 additions and 37 deletions

View File

@@ -513,6 +513,7 @@ type AllocationRule struct {
TriggerType TriggerType `gorm:"size:20;not null" json:"trigger_type"`
SourceAccountID *uint `gorm:"index" json:"source_account_id,omitempty"` // 触发分配的源账户,为空则匹配所有账户
IsActive bool `gorm:"default:true" json:"is_active"`
AutoExecute bool `gorm:"default:true" json:"auto_execute"` // 是否自动执行(不需要确认)
// Relationships
SourceAccount *Account `gorm:"foreignKey:SourceAccountID" json:"source_account,omitempty"`