doum
7 天以前 3c5771460c280139a53e0c451e6ceb8742680b5c
server/services/src/main/java/com/doumee/service/business/impl/OrdersServiceImpl.java
@@ -210,7 +210,7 @@
        request.setOutTradeNo(orders.getOutTradeNo());
        request.setNotifyUrl(WxMiniConfig.wxProperties.getNotifyUrl());//这个回调url必须是https开头的
        Amount amount = new Amount();
        amount.setTotal(1);//orders.getPayAccount().intValue());
        amount.setTotal(orders.getPayAccount().intValue());
        request.setAmount(amount);
//        PrepayResponse res = WxMiniConfig.wxPayService.prepay(request);
        // 跟之前下单示例一样,填充预下单参数