refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,24 @@
package models
import (
"git.apinb.com/bsm-sdk/core/database"
"git.apinb.com/bsm-sdk/core/types"
)
// 系统配置表
type InitialConfig struct {
types.Std_IICUDS
App string `gorm:"type:varchar(255);default:'';"` // 应用名称
Os string `gorm:"type:varchar(255);default:'';"` // 操作系统,ALL代表全平台
Key string `gorm:"type:text;default:'';"` // 配置主键名称
Value string `gorm:"type:text;default:'';"` // 配置参数
Version int64 `gorm:"default:0;"` // 版本号
}
func init() {
database.AppendMigrate(&InitialConfig{})
}
func (table *InitialConfig) TableName() string {
return "initial_config"
}