mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 13:06:54 +08:00
#804 微信支付发送红包接口请求增加触达用户appid参数,用于服务商模式下使用
This commit is contained in:
parent
5df79928a3
commit
6b34e9dacd
@ -102,11 +102,26 @@ public class WxPaySendRedpackRequest extends BaseWxPayRequest {
|
||||
|
||||
/**
|
||||
* wxappid.
|
||||
* 微信分配的公众账号ID(企业号corpid即为此appId)。接口传入的所有appid应该为公众号的appid(在mp.weixin.qq.com申请的),不能为APP的appid(在open.weixin.qq.com申请的)
|
||||
* 微信分配的公众账号ID(企业号corpid即为此appId)。
|
||||
* 接口传入的所有appid应该为公众号的appid(在mp.weixin.qq.com申请的),
|
||||
* 不能为APP的appid(在open.weixin.qq.com申请的)
|
||||
*/
|
||||
@XStreamAlias("wxappid")
|
||||
private String wxAppid;
|
||||
|
||||
/**
|
||||
* 触达用户appid.
|
||||
* <pre>
|
||||
* msgappid
|
||||
* wx28b16568a629bb33
|
||||
* String(32)
|
||||
* 服务商模式下触达用户时的appid(可填服务商自己的appid或子商户的appid),
|
||||
* 服务商模式下必填,服务商模式下填入的子商户appid必须在微信支付商户平台中先录入,否则会校验不过。
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("msgappid")
|
||||
private String msgAppid;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* scene_id.
|
||||
@ -153,7 +168,6 @@ public class WxPaySendRedpackRequest extends BaseWxPayRequest {
|
||||
@XStreamAlias("consume_mch_id")
|
||||
private String consumeMchId;
|
||||
|
||||
|
||||
@Override
|
||||
protected void checkConstraints() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user