|
@@ -95,6 +95,24 @@ func (this *ReportShareController) TrialDetail() {
|
|
|
|
|
|
resp := new(models.ReportShareDetailResp)
|
|
|
resp.Report = report
|
|
|
+ // 免责声明
|
|
|
+ conf, e := models.GetBusinessConf()
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "获取失败"
|
|
|
+ br.ErrMsg = "获取免责声明失败, Err: " + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if conf[models.BusinessConfDisclaimer] != "" {
|
|
|
+ resp.Disclaimer = conf[models.BusinessConfDisclaimer]
|
|
|
+ }
|
|
|
+ // 研报分享抬头
|
|
|
+ if v, ok := conf[models.BusinessConfH5ShareName]; ok {
|
|
|
+ resp.H5ShareName = v
|
|
|
+ }
|
|
|
+ if v, ok := conf[models.BusinessConfH5ReportShareImg]; ok {
|
|
|
+ resp.H5ReportShareImg = v
|
|
|
+ }
|
|
|
+
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|