Explorar o código

增加参数控制缩略图

kobe6258 hai 1 mes
pai
achega
db7b2e059e
Modificáronse 2 ficheiros con 2 adicións e 3 borrados
  1. 1 2
      .gitignore
  2. 1 1
      controllers/data_manage/edb_info.go

+ 1 - 2
.gitignore

@@ -3,7 +3,6 @@
 /.idea
 /routers/.DS_Store
 /rdlucklog
-/etalogs
 /conf/*.conf
 /binlog/*
 /*.pdf
@@ -20,4 +19,4 @@ eta_api.exe~
 /static/tmpFile/*
 etalogs/
 /.vscode
-/fix
+/fix

+ 1 - 1
controllers/data_manage/edb_info.go

@@ -6746,7 +6746,7 @@ func (this *EdbInfoController) ChartImageSetBySvg() {
 		br.Ret = 408
 		return
 	}
-	NotBackendGenerate,_ := this.GetBool("BackendGenerate",false)
+	NotBackendGenerate,_ := this.GetBool("NotBackendGenerate",false)
 	imgData := this.GetString("Img")
 	if imgData == "" {
 		br.Msg = "图片参数错误"