|
|
@@ -157,7 +157,8 @@ func HandleWithEvent(ctx *context.Context, server, openid string, mixedMessage *
|
|
|
switch pushWath.PushType {
|
|
|
// case channel_gzh_qrcode_model.AFTER_SUB_PUSH_POSTER:
|
|
|
case channel_gzh_qrcode_model.AFTER_SUB_PUSH_IMAGE:
|
|
|
- imgPath := fmt.Sprintf("%s/%d.jpg", pushWath.Cover, cq.SceneId)
|
|
|
+ //imgPath := fmt.Sprintf("%s/%d.jpg", pushWath.Cover, cq.SceneId)
|
|
|
+ imgPath := pushWath.Cover
|
|
|
xml.NewEncoder(resp).Encode(sendImg(server, openid, imgPath, gzh.AppId, gzh.AppSecret))
|
|
|
return nil
|
|
|
case channel_gzh_qrcode_model.AFTER_SUB_PUSH_TEXT:
|