浏览代码

fix:报告章节管理,报告章节停更设置

Roc 9 月之前
父节点
当前提交
3162881f0f
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      models/company/company_config.go

+ 1 - 2
models/company/company_config.go

@@ -54,8 +54,7 @@ func GetConfigDetailByCode(configCode string) (item CrmConfig, err error) {
 // @return err error
 func GetReportClassifyIdByConfigKey(configKey string) (classifyId int, err error) {
 	// 别问为啥要从配置里拿=_=!
-	confKey := "report_day_classify_id"
-	conf, e := GetConfigDetailByCode(confKey)
+	conf, e := GetConfigDetailByCode(configKey)
 	if e != nil {
 		err = errors.New("获取配置的id失败, Err: " + e.Error())
 		return