diff --git a/model/gmodel/fs_feishu_config_gen.go b/model/gmodel/fs_feishu_config_gen.go deleted file mode 100644 index 8a866bb8..00000000 --- a/model/gmodel/fs_feishu_config_gen.go +++ /dev/null @@ -1,25 +0,0 @@ -package gmodel - -import ( - "gorm.io/gorm" - "time" -) - -// fs_feishu_config 飞书app配置表 -type FsFeishuConfig struct { - Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID - AppId *string `gorm:"default:'';" json:"app_id"` // app_id - AppSecret *string `gorm:"default:'';" json:"app_secret"` // app密钥 - EncryptKey *string `gorm:"default:'';" json:"encrypt_key"` // - TicketMetdata *string `gorm:"default:'';" json:"ticket_metdata"` // ticket元数据 - Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` // - Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` // -} -type FsFeishuConfigModel struct { - db *gorm.DB - name string -} - -func NewFsFeishuConfigModel(db *gorm.DB) *FsFeishuConfigModel { - return &FsFeishuConfigModel{db: db, name: "fs_feishu_config"} -} diff --git a/model/gmodel/fs_feishu_config_logic.go b/model/gmodel/fs_feishu_config_logic.go deleted file mode 100644 index e68225aa..00000000 --- a/model/gmodel/fs_feishu_config_logic.go +++ /dev/null @@ -1,2 +0,0 @@ -package gmodel -// TODO: 使用model的属性做你想做的 \ No newline at end of file diff --git a/model/gmodel/var_gen.go b/model/gmodel/var_gen.go index b702a514..c5d4df3b 100644 --- a/model/gmodel/var_gen.go +++ b/model/gmodel/var_gen.go @@ -49,7 +49,6 @@ type AllModelsGen struct { FsFactoryProduct *FsFactoryProductModel // fs_factory_product 工厂生产表(废弃) FsFactoryShipTmp *FsFactoryShipTmpModel // fs_factory_ship_tmp FsFaq *FsFaqModel // fs_faq 常见问题 - FsFeishuConfig *FsFeishuConfigModel // fs_feishu_config 飞书app配置表 FsFont *FsFontModel // fs_font 字体配置 FsGerent *FsGerentModel // fs_gerent 管理员表 FsGuest *FsGuestModel // fs_guest 游客表 @@ -168,7 +167,6 @@ func NewAllModels(gdb *gorm.DB) *AllModelsGen { FsFactoryProduct: NewFsFactoryProductModel(gdb), FsFactoryShipTmp: NewFsFactoryShipTmpModel(gdb), FsFaq: NewFsFaqModel(gdb), - FsFeishuConfig: NewFsFeishuConfigModel(gdb), FsFont: NewFsFontModel(gdb), FsGerent: NewFsGerentModel(gdb), FsGuest: NewFsGuestModel(gdb),