浏览代码

fix:免责声明返回

Roc 7 月之前
父节点
当前提交
3048780d64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/english_report/english_report.go

+ 1 - 1
controller/english_report/english_report.go

@@ -462,7 +462,7 @@ func (er *EnglishReportController) Detail(c *gin.Context) {
 		obj := business_conf.BusinessConf{}
 		conf, e := obj.GetBusinessConf()
 		if e != nil {
-			resp.FailMsg("获取失败", "获取免责声明失败,Err:"+err.Error(), c)
+			resp.FailMsg("获取失败", "获取免责声明失败,Err:"+e.Error(), c)
 			return
 		}