Roc 1 päivä sitten
vanhempi
commit
e72652fd78
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      controllers/wechat.go

+ 3 - 3
controllers/wechat.go

@@ -450,7 +450,7 @@ func (this *WechatCommonController) Notify() {
 				fmt.Println("关注")
 				go subscribe(openId)
 				textMsg := "感谢您关注弘则研究。\r\n作为中国资本市场的独立研究机构,今年是我们运用投研经验,服务全球投资者的第10年。\r\n眼下波动加剧、信息噪音激增,但弘则与你同行,我们希望运用自己在数据洪流与预期纠偏中反复训练而来的系统性智慧,让研究价值不止于验证过往,更能指引未来。\r\n\n市场合作、业务咨询,请在公众号菜单栏【关于我们】界面联系弘则小助手。"
-				xmlTpl = fmt.Sprintf(tmpXmlTpl, openId, utils.WxId, createTime, textMsg)
+				returnResult = fmt.Sprintf(tmpXmlTpl, openId, utils.WxId, createTime, textMsg)
 
 				break
 			case "unsubscribe":
@@ -470,11 +470,11 @@ func (this *WechatCommonController) Notify() {
 							</Image>
 						</xml>`
 					etaHelperImg := `9BdElil_491Cghjq24Sk_UFmBN4UUcZVLLGzCIcIOQpnH2j5gI88UxIRm_WdTzNy`
-					xmlTpl = fmt.Sprintf(imgXmlTpl, openId, utils.WxId, createTime, etaHelperImg)
+					returnResult = fmt.Sprintf(imgXmlTpl, openId, utils.WxId, createTime, etaHelperImg)
 				case `more_eta`:
 					moreEtaMsg := "ETA智能投研平台,是弘则基于10年业内领先研究智慧训练开发的新一代投研引擎,将顶尖投研方法论深度融入平台体系,让用户在使用中自然提升专业分析能力,赋能全品类、跨场景的开创性研究。\r\n平台集成全端数据采集、多维指标图表、0代码量化分析、AI价格预测与大模型知识库,灵活输出报告及PPT,沉淀智力资产。\r\n通过ETA,可快速构建企业投研能力壁垒,以高效汇聚市场共识为起点,前瞻性洞察市场变化,构建投研一体的决策闭环。\r\n查看文章了解详情:点击查看【https://mp.weixin.qq.com/s/UVYXGb_h9CzC3X-cp6T8OQ】"
 
-					xmlTpl = fmt.Sprintf(tmpXmlTpl, openId, utils.WxId, createTime, moreEtaMsg)
+					returnResult = fmt.Sprintf(tmpXmlTpl, openId, utils.WxId, createTime, moreEtaMsg)
 				default:
 					returnResult = xmlTpl
 				}