Browse Source

PC端研选说明图片更换

xingzai 1 year ago
parent
commit
4125f17120
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/config.go

+ 2 - 2
controllers/config.go

@@ -98,7 +98,7 @@ func (this *BaseConfigController) ResearchIntroduce() {
 		this.ServeJSON()
 		this.ServeJSON()
 	}()
 	}()
 
 
-	conf, err := models.GetConfigByCode("research_introduce_img_url")
+	conf, err := models.GetConfigByCode("research_introduce_img_url_pc")
 	if err != nil {
 	if err != nil {
 		br.Msg = "获取数据失败"
 		br.Msg = "获取数据失败"
 		br.ErrMsg = "买方研选产品介绍信息失败,Err:" + err.Error()
 		br.ErrMsg = "买方研选产品介绍信息失败,Err:" + err.Error()
@@ -131,7 +131,7 @@ func (this *BaseConfigController) ResearchQuotation() {
 		this.Data["json"] = br
 		this.Data["json"] = br
 		this.ServeJSON()
 		this.ServeJSON()
 	}()
 	}()
-	conf, err := models.GetConfigByCode("research_quotation_img_url")
+	conf, err := models.GetConfigByCode("research_quotation_img_url_pc")
 	if err != nil {
 	if err != nil {
 		br.Msg = "获取数据失败"
 		br.Msg = "获取数据失败"
 		br.ErrMsg = "买方研选产品介绍信息失败,Err:" + err.Error()
 		br.ErrMsg = "买方研选产品介绍信息失败,Err:" + err.Error()