WxMpService.get(java.lang.String, java.lang.String)
和WxMpService.post(java.lang.String, java.lang.String)
方法更灵活,可以自己构造RequestExecutor用来处理不同的参数和不同的返回类型。WxMpService.massNewsUpload(me.chanjar.weixin.mp.bean.WxMpMassNews)
获得media_id,然后再发送
如果发送视频消息,必须先使用 WxMpService.massVideoUpload(me.chanjar.weixin.mp.bean.WxMpMassVideo)
获得media_id,然后再发送
详情请见: http://mp.weixin.qq.com/wiki/index.php?WxMpService.massNewsUpload(me.chanjar.weixin.mp.bean.WxMpMassNews)
获得media_id,然后再发送
如果发送视频消息,必须先使用 WxMpService.massVideoUpload(me.chanjar.weixin.mp.bean.WxMpMassVideo)
获得media_id,然后再发送
详情请见: http://mp.weixin.qq.com/wiki/index.php?WxErrorExceptionHandler
如果不调用该方法,默认使用 LogExceptionHandler
ExecutorService
如果不调用该方法,默认使用 Executors.newFixedThreadPool(100)
WxMessageDuplicateChecker
如果不调用该方法,默认使用 WxMessageInMemoryDuplicateChecker
WxConsts.MASS_MSG_IMAGE
WxConsts.MASS_MSG_NEWS
WxConsts.MASS_MSG_TEXT
WxConsts.MASS_MSG_VIDEO
WxConsts.MASS_MSG_VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
WxConsts.MASS_MSG_IMAGE
WxConsts.MASS_MSG_NEWS
WxConsts.MASS_MSG_TEXT
WxConsts.MASS_MSG_VIDEO
WxConsts.MASS_MSG_VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
WxConsts.MASS_MSG_IMAGE
WxConsts.MASS_MSG_NEWS
WxConsts.MASS_MSG_TEXT
WxConsts.MASS_MSG_VIDEO
WxConsts.MASS_MSG_VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
WxSessionManager
如果不调用该方法,默认使用 StandardSessionManager
WxMpConfigStorage
的实现Copyright © 2016. All rights reserved.