feat(tenant): 隔离客服通知文件与后台任务

This commit is contained in:
yml
2026-11-15 16:23:28 +08:00
parent c7dacfa025
commit e994fd9166
52 changed files with 1670 additions and 254 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ import "time"
type SystemConfig struct {
ID uint64 `gorm:"primaryKey" json:"id"`
Key string `gorm:"column:key;size:128;not null;uniqueIndex" json:"key"`
TenantID uint64 `gorm:"not null;default:0;uniqueIndex:uk_system_configs_tenant_key" json:"tenant_id"`
Key string `gorm:"column:key;size:128;not null;uniqueIndex:uk_system_configs_tenant_key" json:"key"`
Value string `gorm:"column:value;type:text;not null" json:"value"`
Description string `gorm:"size:255;not null;default:''" json:"description"`
UpdatedBy *uint64 `json:"updated_by"`