mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-21 11:07:37 +08:00
#973 修复服务商发送微信红包时的签名问题
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
package com.github.binarywang.wxpay.bean.request;
|
package com.github.binarywang.wxpay.bean.request;
|
||||||
|
|
||||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.*;
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发送红包请求参数对象.
|
* 发送红包请求参数对象.
|
||||||
@@ -20,9 +16,11 @@ import lombok.NoArgsConstructor;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@XStreamAlias("xml")
|
@XStreamAlias("xml")
|
||||||
public class WxPaySendRedpackRequest extends BaseWxPayRequest {
|
public class WxPaySendRedpackRequest extends BaseWxPayRequest {
|
||||||
|
private static final long serialVersionUID = -2035425086824987567L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String[] getIgnoredParamsForSign() {
|
protected String[] getIgnoredParamsForSign() {
|
||||||
return new String[]{"sign_type"};
|
return new String[]{"sign_type", "sub_appid"};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user