feat: 迁移商务账号层级和列表管理

This commit is contained in:
Yvan
2026-11-03 17:56:33 +08:00
parent ce4b54a2e2
commit 794001dfbe
24 changed files with 1229 additions and 12 deletions
+17
View File
@@ -0,0 +1,17 @@
package business
import "time"
type bindingPO struct {
UserID uint `gorm:"primaryKey;autoIncrement:false"`
SourceDB string `gorm:"column:source_db;primaryKey;size:50"`
PlatformBusierID uint64 `gorm:"primaryKey;autoIncrement:false"`
PlatformBusierAccount string `gorm:"size:100"`
Status string `gorm:"size:1;index"`
RejectReason *string `gorm:"size:500"`
CreateTime time.Time
ReviewTime *time.Time
ReviewAccount *string `gorm:"size:100"`
}
func (bindingPO) TableName() string { return "sys_user_bind_platform" }