Explorar el Código

update new mpappid

abiao hace 4 años
padre
commit
ae143bbfac
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      go/gopath/src/fohow.com/libs/wx_mp/event.go

+ 2 - 1
go/gopath/src/fohow.com/libs/wx_mp/event.go

@@ -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: