Skip to content

Commit

Permalink
#804 微信支付发送红包接口请求增加触达用户appid参数,用于服务商模式下使用
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed Oct 19, 2018
1 parent 5df7992 commit 6b34e9d
Showing 1 changed file with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,26 @@ protected String[] getIgnoredParamsForSign() {

/**
* 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.
Expand Down Expand Up @@ -153,7 +168,6 @@ protected String[] getIgnoredParamsForSign() {
@XStreamAlias("consume_mch_id")
private String consumeMchId;


@Override
protected void checkConstraints() {

Expand Down

0 comments on commit 6b34e9d

Please sign in to comment.