diff --git a/app/db/db_new_acquisition_cfg.go b/app/db/db_new_acquisition_cfg.go index 9f21aff..491db01 100644 --- a/app/db/db_new_acquisition_cfg.go +++ b/app/db/db_new_acquisition_cfg.go @@ -20,7 +20,9 @@ func GetAcquisitionCfg(eg *xorm.Engine, id string, createAt time.Time) *md.Acqui if get == false || err != nil { return nil } - + if data.IsShow == 0 { + return nil + } var cfg md.AcquisitionCfg utils.Unserialize([]byte(data.Data), &cfg) return &cfg