1
0
mirror of synced 2025-12-15 11:41:42 +08:00

🎨 #3799 【小程序】发货信息管理功能补充消息推送字段,支持订单发货和结算事件的完整信息接收

This commit is contained in:
buaazyl
2025-12-10 10:07:36 +08:00
committed by GitHub
parent c0db88091f
commit c777dc32a8
2 changed files with 76 additions and 12 deletions

View File

@@ -465,32 +465,40 @@ public class WxConsts {
/**
* 名称审核事件
*/
public static final String WXA_NICKNAME_AUDIT = "wxa_nickname_audit" ;
public static final String WXA_NICKNAME_AUDIT = "wxa_nickname_audit";
/**
*小程序违规记录事件
*/
public static final String WXA_ILLEGAL_RECORD= "wxa_illegal_record";
* 小程序违规记录事件
*/
public static final String WXA_ILLEGAL_RECORD = "wxa_illegal_record";
/**
*小程序申诉记录推送
*/
public static final String WXA_APPEAL_RECORD= "wxa_appeal_record";
* 小程序申诉记录推送
*/
public static final String WXA_APPEAL_RECORD = "wxa_appeal_record";
/**
* 隐私权限审核结果推送
*/
public static final String WXA_PRIVACY_APPLY= "wxa_privacy_apply";
public static final String WXA_PRIVACY_APPLY = "wxa_privacy_apply";
/**
* 类目审核结果事件推送
*/
public static final String WXA_CATEGORY_AUDIT= "wxa_category_audit";
public static final String WXA_CATEGORY_AUDIT = "wxa_category_audit";
/**
* 小程序微信认证支付成功事件
*/
public static final String WX_VERIFY_PAY_SUCC= "wx_verify_pay_succ";
public static final String WX_VERIFY_PAY_SUCC = "wx_verify_pay_succ";
/**
* 小程序微信认证派单事件
*/
public static final String WX_VERIFY_DISPATCH= "wx_verify_dispatch";
}
public static final String WX_VERIFY_DISPATCH = "wx_verify_dispatch";
/**
* 提醒需要上传发货信息事件曾经发过货的小程序订单超过48小时未发货时
*/
public static final String TRADE_MANAGE_REMIND_SHIPPING = "trade_manage_remind_shipping";
/**
* 订单完成发货时、订单结算时
*/
public static final String TRADE_MANAGE_ORDER_SETTLEMENT = "trade_manage_order_settlement";
}
/**
* 上传多媒体(临时素材)文件的类型.

View File

@@ -257,6 +257,62 @@ public class WxMaMessage implements Serializable {
*/
private String context;
/**
* 微信支付订单号
*/
@XStreamAlias("transaction_id")
private String transactionId;
/**
* 商户号
*/
@XStreamAlias("merchant_id")
private String merchantId;
/**
* 子商户号
*/
@XStreamAlias("sub_merchant_id")
private String subMerchantId;
/**
* 商户订单号
*/
@XStreamAlias("merchant_trade_no")
private String merchantTradeNo;
/**
* 支付成功时间,秒级时间戳
*/
@XStreamAlias("pay_time")
private Long payTime;
/**
* 消息文本内容
*/
@XStreamAlias("msg")
private String msg;
/**
* 发货时间,秒级时间戳
*/
@XStreamAlias("shipped_time")
private Long shippedTime;
/**
* 预计结算时间,秒级时间戳。发货时推送才有该字段
*/
@XStreamAlias("estimated_settlement_time")
private Long estimatedSettlementTime;
/**
* 确认收货方式1. 手动确认收货2. 自动确认收货。结算时推送才有该字段
*/
@XStreamAlias("confirm_receive_method")
private Integer confirmReceiveMethod;
/**
* 确认收货时间,秒级时间戳。结算时推送才有该字段
*/
@XStreamAlias("confirm_receive_time")
private Long confirmReceiveTime;
/**
* 订单结算时间,秒级时间戳。结算时推送才有该字段
*/
@XStreamAlias("settlement_time")
private Long settlementTime;
/**
* 不要直接使用这个字段,
* 这个字段只是为了适配 SubscribeMsgPopupEvent SubscribeMsgChangeEvent SubscribeMsgSentEvent