|
@@ -2615,7 +2615,7 @@ func (this *FutureGoodChartInfoController) ChartInfoBase64Upload() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- NotBackendGenerate, _ := this.GetBool("BackendGenerate", false)
|
|
|
+ NotBackendGenerate, _ := this.GetBool("NotBackendGenerate", false)
|
|
|
if NotBackendGenerate {
|
|
|
b, _ := regexp.MatchString(`^data:\s*image\/(\w+);base64,`, imgData)
|
|
|
if !b {
|
|
@@ -3591,7 +3591,7 @@ func (this *FutureGoodChartInfoController) ChartInfoImgSetBySvg() {
|
|
|
br.ErrMsg = "图片参数错误,Img Is Empty"
|
|
|
return
|
|
|
}
|
|
|
- NotBackendGenerate, _ := this.GetBool("BackendGenerate", false)
|
|
|
+ NotBackendGenerate, _ := this.GetBool("NotBackendGenerate", false)
|
|
|
if NotBackendGenerate {
|
|
|
b, _ := regexp.MatchString(`^data:\s*image\/(\w+);base64,`, imgData)
|
|
|
if !b {
|