Roc 2 giorni fa
parent
commit
1a1f13561a
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      controllers/wechat.go

+ 3 - 1
controllers/wechat.go

@@ -465,7 +465,9 @@ func (this *WechatCommonController) Notify() {
 						  <FromUserName><![CDATA[%s]]></FromUserName>
 						  <CreateTime>%s</CreateTime>
 						  <MsgType><![CDATA[image]]></MsgType>
-						  <Content><![CDATA[%s]]></Content>
+							<Image>
+							<MediaId><![CDATA[%s]]></MediaId>
+							</Image>
 						</xml>`
 					etaHelperImg := `9BdElil_491Cghjq24Sk_UFmBN4UUcZVLLGzCIcIOQpnH2j5gI88UxIRm_WdTzNy`
 					xmlTpl = fmt.Sprintf(imgXmlTpl, openId, utils.WxId, createTime, etaHelperImg)