mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	#804 微信支付发送红包接口请求增加触达用户appid参数,用于服务商模式下使用
This commit is contained in:
		| @ -102,11 +102,26 @@ public class WxPaySendRedpackRequest extends BaseWxPayRequest { | |||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * wxappid. |    * 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") |   @XStreamAlias("wxappid") | ||||||
|   private String wxAppid; |   private String wxAppid; | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * 触达用户appid. | ||||||
|  |    * <pre> | ||||||
|  |    * msgappid | ||||||
|  |    * wx28b16568a629bb33 | ||||||
|  |    * String(32) | ||||||
|  |    * 服务商模式下触达用户时的appid(可填服务商自己的appid或子商户的appid), | ||||||
|  |    * 服务商模式下必填,服务商模式下填入的子商户appid必须在微信支付商户平台中先录入,否则会校验不过。 | ||||||
|  |    * </pre> | ||||||
|  |    */ | ||||||
|  |   @XStreamAlias("msgappid") | ||||||
|  |   private String msgAppid; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * <pre> |    * <pre> | ||||||
|    * scene_id. |    * scene_id. | ||||||
| @ -153,7 +168,6 @@ public class WxPaySendRedpackRequest extends BaseWxPayRequest { | |||||||
|   @XStreamAlias("consume_mch_id") |   @XStreamAlias("consume_mch_id") | ||||||
|   private String consumeMchId; |   private String consumeMchId; | ||||||
|  |  | ||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   protected void checkConstraints() { |   protected void checkConstraints() { | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang