List<E> toUsers
String msgType
请使用WxConsts.MassMsgType#IMAGE
WxConsts.MassMsgType#MPNEWS
WxConsts.MassMsgType#TEXT
WxConsts.MassMsgType#MPVIDEO
WxConsts.MassMsgType#VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
String content
String mediaId
boolean sendIgnoreReprint
String clientMsgId
String toWxUserName
String toWxUserOpenid
String msgType
消息类型 请使用WxConsts.MassMsgType#IMAGE
WxConsts.MassMsgType#MPNEWS
WxConsts.MassMsgType#TEXT
WxConsts.MassMsgType#MPVIDEO
WxConsts.MassMsgType#VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
String content
String mediaId
Long tagId
String msgType
消息类型 请使用WxConsts.MassMsgType#IMAGE
WxConsts.MassMsgType#MPNEWS
WxConsts.MassMsgType#TEXT
WxConsts.MassMsgType#MPVIDEO
WxConsts.MassMsgType#VOICE
如果msgtype和media_id不匹配的话,会返回系统繁忙的错误
String content
String mediaId
boolean isSendAll
boolean sendIgnoreReprint
String clientMsgId
Integer errcode
String errmsg
WxMpShakeInfoResult.ShakeInfoData data
String page_id
String openid
String poi_id
String brand_userame
WxMpShakeInfoResult.ShakeInfoData.BeaconInfo beacon_info
String ticket
int needPoi
Integer refHour
String msgId
String title
Integer intPageReadUser
Integer intPageReadCount
Integer oriPageReadUser
Integer oriPageReadCount
Integer shareScene
Integer shareUser
Integer shareCount
Integer addToFavUser
Integer addToFavCount
Integer userSource
String statDate
Integer targetUser
Integer intPageReadUser
Integer intPageReadCount
Integer oriPageReadUser
Integer oriPageReadCount
Integer shareUser
Integer shareCount
Integer addToFavUser
Integer addToFavCount
Integer intPageFromSessionReadUser
Integer intPageFromSessionReadCount
Integer intPageFromHistMsgReadUser
Integer intPageFromHistMsgReadCount
Integer intPageFromFeedReadUser
Integer intPageFromFeedReadCount
Integer intPageFromFriendsReadUser
Integer intPageFromFriendsReadCount
Integer intPageFromOtherReadUser
Integer intPageFromOtherReadCount
Integer feedShareFromSessionUser
Integer feedShareFromSessionCnt
Integer feedShareFromFeedUser
Integer feedShareFromFeedCnt
Integer feedShareFromOtherUser
Integer feedShareFromOtherCnt
String refDate
Integer refHour
Integer callbackCount
Integer failCount
Integer totalTimeCost
Integer maxTimeCost
Integer refHour
Integer msgType
Integer msgUser
Integer msgCount
Integer countInterval
Integer intPageReadCount
Integer oriPageReadUser
String id
String mac
String connectProtocol
String authKey
String closeStrategy
String connStrategy
String cryptMethod
String authVer
String manuMacPos
String serMacPos
String bleSimpleProtocol
BaseResp baseResp
String toUser
String msgType
String content
String mediaId
String thumbMediaId
String title
String description
String musicUrl
String hqMusicUrl
String kfAccount
String cardId
String mpNewsMediaId
String miniProgramAppId
String miniProgramPagePath
List<E> articles
String account
String headImgUrl
String id
String nick
String wxAccount
String inviteWx
Long inviteExpireTime
String inviteStatus
Integer status
Integer acceptedCase
String kfAccount
long createTime
String url
String mediaId
int index
WxMpMaterialNews.WxMpMaterialNewsArticle articles
int voiceCount
int videoCount
int imageCount
int newsCount
NameValues[] commonFieldList
NameValues[] customFieldList
Boolean isNotifyBonus
Boolean isNotifyBalance
Boolean isNotifyCustomField1
Boolean isNotifyCustomField2
Boolean isNotifyCustomField3
String membershipNumber
String code
String cardId
String backgroundPicUrl
Integer activateBeginTime
Integer activateEndTime
Integer initBonus
String initBonusRecord
Double initBalance
String initCustomFieldValue1
String initCustomFieldValue2
String initCustomFieldValue3
String code
String cardId
String backgroundPicUrl
Integer bonus
Integer addBounus
String recordBonus
Double balance
Double addBalance
String recordBalance
String customFieldValue1
String customFieldValue2
String customFieldValue3
NotifyOptional notifyOptional
WxMpSelfMenuInfo selfMenuInfo
Integer isMenuOpen
WxMpMenu.WxMpConditionalMenu menu
List<E> conditionalMenu
List<E> buttons
WxMenuRule rule
String menuId
String type
菜单的类型,公众平台官网上能够设置的菜单类型有view(跳转网页)、text(返回文本,下同)、img、photo、video、voice。 使用API设置的则有8种,详见《自定义菜单创建接口》
String name
String key
对于不同的菜单类型,value的值意义不同。 官网上设置的自定义菜单:
String url
String value
WxMpSelfMenuInfo.WxMpSelfMenuButton.SubButtons subButtons
WxMpSelfMenuInfo.WxMpSelfMenuButton.NewsInfo newsInfo
String picMd5Sum
String toUser
String fromUser
Long createTime
String msgType
String content
Long menuId
Long msgId
String picUrl
String mediaId
String format
String thumbMediaId
Double locationX
Double locationY
Double scale
String label
String title
String description
String url
String event
String eventKey
String ticket
Double latitude
Double longitude
Double precision
String recognition
String status
Integer totalCount
Integer filterCount
Integer sentCount
Integer errorCount
String kfAccount
String toKfAccount
String fromKfAccount
String cardId
String friendUserName
Integer isGiveByFriend
String userCardCode
String oldUserCardCode
Integer outerId
String isRestoreMemberCard
String outerStr
领取场景值,用于领取渠道数据统计。可在生成二维码接口及添加Addcard接口中自定义该字段的字符串值. 核销卡券时:开发者发起核销时传入的自定义参数,用于进行核销渠道统计 另外: 官网文档中,微信卡券>>卡券事件推送>>2.7 进入会员卡事件推送 user_view_card OuterStr:商户自定义二维码渠道参数,用于标识本次扫码打开会员卡来源来自于某个渠道值的二维码
String isReturnBack
String isChatRoom
String consumeSource
String locationName
String staffOpenId
String verifyCode
String remarkAmount
String detail
官网文档中,微信卡券>>卡券事件推送>>2.10 库存报警事件card_sku_remind Detail:报警详细信息.
String modifyBonus
官网文档中,微信卡券>>卡券事件推送>>2.9 会员卡内容更新事件 update_member_card ModifyBonus:变动的积分值.
String modifyBalance
官网文档中,微信卡券>>卡券事件推送>>2.9 会员卡内容更新事件 update_member_card ModifyBalance:变动的余额值.
String transId
官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell TransId:微信支付交易订单号(只有使用买单功能核销的卡券才会出现).
String locationId
官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell LocationId:门店ID,当前卡券核销的门店ID(只有通过卡券商户助手和买单核销时才会出现)
String fee
官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell Fee:实付金额,单位为分
String originalFee
官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell OriginalFee:应付金额,单位为分
ScanCodeInfo scanCodeInfo
SendPicsInfo sendPicsInfo
SendLocationInfo sendLocationInfo
String storeUniqId
String poiId
String result
String msg
Long expiredTime
Long failTime
String failReason
String orderId
String orderStatus
String productId
String skuInfo
String deviceType
String deviceId
String openId
HardWare hardWare
Integer opType
Integer deviceStatus
String mediaId
WxMpXmlOutMusicMessage.Music music
String content
WxMpXmlOutTransferKefuMessage.TransInfo transInfo
String kfAccount
WxMpXmlOutVideoMessage.Video video
String mediaId
Boolean isAddFriendReplyOpen
Boolean isAutoReplyOpen
WxMpCurrentAutoReplyInfo.AutoReplyInfo addFriendAutoReplyInfo
WxMpCurrentAutoReplyInfo.AutoReplyInfo messageDefaultAutoReplyInfo
WxMpCurrentAutoReplyInfo.KeywordAutoReplyInfo keywordAutoReplyInfo
String type
String content
WxMpCurrentAutoReplyInfo.NewsInfo newsInfo
String accessToken
int expiresIn
String refreshToken
String openId
String scope
String unionId
Boolean subscribe
String openId
String nickname
String sexDesc
Integer sex
String language
String city
String province
String country
String headImgUrl
Long subscribeTime
String unionId
只有在将公众号绑定到微信开放平台帐号后,才会出现该字段。 另外,在用户未关注公众号时,将不返回用户unionID信息。 已关注的用户,开发者可使用“获取用户基本信息接口”获取unionID; 未关注用户,开发者可使用“微信授权登录接口”并将scope参数设置为snsapi_userinfo,获取用户unionID
String remark
Integer groupId
Long[] tagIds
String[] privileges
String subscribeScene
String qrScene
String qrSceneStr
int type
Integer pageId
Integer begin
Integer count
WxMpDeviceIdentifier deviceIdentifier
Integer errcode
String errmsg
WxMpShakeAroundRelationSearchResult.WxMpShakeAcoundRelationSearch data
String sid
String businessName
String branchName
String province
String city
String district
String address
String telephone
String[] categories
Integer offsetType
BigDecimal longitude
BigDecimal latitude
List<E> photos
String recommend
String special
String introduction
String openTime
Integer avgPrice
Integer availableState
Integer updateStatus
String poiId
String photoUrl
WxMpStoreBaseInfo baseInfo
Integer count
WxTagListUser.WxTagListUserData data
String nextOpenid
WxMpTemplateIndustry.Industry primaryIndustry
WxMpTemplateIndustry.Industry secondIndustry
String toUser
String templateId
String url
url和miniprogram都是非必填字段,若都不传则模板无跳转;若都传,会优先跳转至小程序。 开发者可根据实际需要选择其中一种跳转方式即可。当用户的微信客户端版本不支持跳小程序时,将会跳转至url。
WxMpTemplateMessage.MiniProgram miniProgram
WxMpTemplateMessage.url
List<E> data
Copyright © 2018. All rights reserved.