Merge remote-tracking branch 'origin/release-2024-04-25' into release-2024-04-25

release-2024-04-25
huangyw 1 week ago
commit 19c79a8c5c

@ -136,9 +136,11 @@ public class MemberShipService {
request.setOutTradeNo(outTradeNo);
// 调用接口
PrepayResponse response = wxPayAppService.prepay(request);
Map<String, String> map = null;
Map map = null;
try {
map = WxPayKit.appCreateSign(wxPayConfig.getAppId(), wxPayConfig.getMchId(), response.getPrepayId(), wxPayConfig.getPrivateKeyPath());
String timestamp = (String) map.get("timestamp");
map.put("timestamp", Integer.valueOf(timestamp));
} catch (Exception e) {
throw new RuntimeException(e);
}

Loading…
Cancel
Save