diff --git a/luoo_user/src/main/java/com/luoo/user/service/MemberShipService.java b/luoo_user/src/main/java/com/luoo/user/service/MemberShipService.java index d792122..2a5cfc8 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/MemberShipService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/MemberShipService.java @@ -136,9 +136,11 @@ public class MemberShipService { request.setOutTradeNo(outTradeNo); // 调用接口 PrepayResponse response = wxPayAppService.prepay(request); - Map 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); }