mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-08 03:56:48 +08:00
微信加入平台公钥文本
This commit is contained in:
@@ -350,7 +350,7 @@ public class WxPayService extends BasePayService<WxPayConfigStorage> implements
|
||||
*/
|
||||
@Override
|
||||
public HttpStringEntity hookHttpEntity(HttpStringEntity entity) {
|
||||
if (StringUtils.isNotEmpty(payConfigStorage.getKeyPublic())) {
|
||||
if (StringUtils.isNotEmpty(payConfigStorage.getKeyPublicId())) {
|
||||
// 商户上送敏感信息时使用`微信支付平台公钥`加密
|
||||
entity.addHeader(new BasicHeader(WxConst.WECHATPAY_SERIAL, payConfigStorage.getKeyPublicId()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user