File tree Expand file tree Collapse file tree 2 files changed +76
-12
lines changed
weixin-java-common/src/main/java/me/chanjar/weixin/common/api
weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean Expand file tree Collapse file tree 2 files changed +76
-12
lines changed Original file line number Diff line number Diff line change @@ -465,32 +465,40 @@ public static class EventType {
465465 /**
466466 * 名称审核事件
467467 */
468- public static final String WXA_NICKNAME_AUDIT = "wxa_nickname_audit" ;
468+ public static final String WXA_NICKNAME_AUDIT = "wxa_nickname_audit" ;
469469 /**
470- *小程序违规记录事件
471- */
472- public static final String WXA_ILLEGAL_RECORD = "wxa_illegal_record" ;
470+ * 小程序违规记录事件
471+ */
472+ public static final String WXA_ILLEGAL_RECORD = "wxa_illegal_record" ;
473473 /**
474- *小程序申诉记录推送
475- */
476- public static final String WXA_APPEAL_RECORD = "wxa_appeal_record" ;
474+ * 小程序申诉记录推送
475+ */
476+ public static final String WXA_APPEAL_RECORD = "wxa_appeal_record" ;
477477 /**
478478 * 隐私权限审核结果推送
479479 */
480- public static final String WXA_PRIVACY_APPLY = "wxa_privacy_apply" ;
480+ public static final String WXA_PRIVACY_APPLY = "wxa_privacy_apply" ;
481481 /**
482482 * 类目审核结果事件推送
483483 */
484- public static final String WXA_CATEGORY_AUDIT = "wxa_category_audit" ;
484+ public static final String WXA_CATEGORY_AUDIT = "wxa_category_audit" ;
485485 /**
486486 * 小程序微信认证支付成功事件
487487 */
488- public static final String WX_VERIFY_PAY_SUCC = "wx_verify_pay_succ" ;
488+ public static final String WX_VERIFY_PAY_SUCC = "wx_verify_pay_succ" ;
489489 /**
490490 * 小程序微信认证派单事件
491491 */
492- public static final String WX_VERIFY_DISPATCH = "wx_verify_dispatch" ;
493- }
492+ public static final String WX_VERIFY_DISPATCH = "wx_verify_dispatch" ;
493+ /**
494+ * 提醒需要上传发货信息事件:曾经发过货的小程序,订单超过48小时未发货时
495+ */
496+ public static final String TRADE_MANAGE_REMIND_SHIPPING = "trade_manage_remind_shipping" ;
497+ /**
498+ * 订单完成发货时、订单结算时
499+ */
500+ public static final String TRADE_MANAGE_ORDER_SETTLEMENT = "trade_manage_order_settlement" ;
501+ }
494502
495503 /**
496504 * 上传多媒体(临时素材)文件的类型.
Original file line number Diff line number Diff line change @@ -257,6 +257,62 @@ public class WxMaMessage implements Serializable {
257257 */
258258 private String context ;
259259
260+ /**
261+ * 微信支付订单号
262+ */
263+ @ XStreamAlias ("transaction_id" )
264+ private String transactionId ;
265+ /**
266+ * 商户号
267+ */
268+ @ XStreamAlias ("merchant_id" )
269+ private String merchantId ;
270+ /**
271+ * 子商户号
272+ */
273+ @ XStreamAlias ("sub_merchant_id" )
274+ private String subMerchantId ;
275+ /**
276+ * 商户订单号
277+ */
278+ @ XStreamAlias ("merchant_trade_no" )
279+ private String merchantTradeNo ;
280+ /**
281+ * 支付成功时间,秒级时间戳
282+ */
283+ @ XStreamAlias ("pay_time" )
284+ private Long payTime ;
285+ /**
286+ * 消息文本内容
287+ */
288+ @ XStreamAlias ("msg" )
289+ private String msg ;
290+ /**
291+ * 发货时间,秒级时间戳
292+ */
293+ @ XStreamAlias ("shipped_time" )
294+ private Long shippedTime ;
295+ /**
296+ * 预计结算时间,秒级时间戳。发货时推送才有该字段
297+ */
298+ @ XStreamAlias ("estimated_settlement_time" )
299+ private Long estimatedSettlementTime ;
300+ /**
301+ * 确认收货方式:1. 手动确认收货;2. 自动确认收货。结算时推送才有该字段
302+ */
303+ @ XStreamAlias ("confirm_receive_method" )
304+ private Integer confirmReceiveMethod ;
305+ /**
306+ * 确认收货时间,秒级时间戳。结算时推送才有该字段
307+ */
308+ @ XStreamAlias ("confirm_receive_time" )
309+ private Long confirmReceiveTime ;
310+ /**
311+ * 订单结算时间,秒级时间戳。结算时推送才有该字段
312+ */
313+ @ XStreamAlias ("settlement_time" )
314+ private Long settlementTime ;
315+
260316 /**
261317 * 不要直接使用这个字段,
262318 * 这个字段只是为了适配 SubscribeMsgPopupEvent SubscribeMsgChangeEvent SubscribeMsgSentEvent
You can’t perform that action at this time.
0 commit comments