fei.wang
7 天以前 e15f561a1f9eddfde503d59baf45a860b131928e
src/main/java/com/flow/controller/PayController.java
@@ -52,10 +52,10 @@
            AlipayTradePagePayRequest alipayRequest = new AlipayTradePagePayRequest();
            String bizContent = "{\"out_trade_no\":\"" + shopId + "\",\"total_amount\":\"" + feiyong + "\",\"subject\":\"" + chongzhiCompany + "\",\"body\":\"" + card + "\",\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}";
            alipayRequest.setBizContent(bizContent);
            alipayRequest.setReturnUrl("http://localhost:8888/HxzkFlow/page/index.jsp");
            alipayRequest.setNotifyUrl("http://localhost:8888/HxzkFlow/order/payed");
//            alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp");
//            alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payed");
//            alipayRequest.setReturnUrl("http://localhost:8888/HxzkFlow/page/index.jsp");
//            alipayRequest.setNotifyUrl("http://localhost:8888/HxzkFlow/order/payed");
            alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp");
            alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payed");
            String result = ((AlipayTradePagePayResponse)alipayClient.pageExecute(alipayRequest)).getBody();
            out.print(result);
        } catch (Throwable var20) {
@@ -77,7 +77,7 @@
            AlipayTradePagePayRequest alipayRequest = new AlipayTradePagePayRequest();
            String bizContent = "{\"out_trade_no\":\"" + shopId + "\",\"total_amount\":\"" + feiyong + "\",\"subject\":\"" + chongzhiCompany + "\",\"body\":\"" + fuwuqi + "\",\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}";
            alipayRequest.setBizContent(bizContent);
            alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/");
            alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp");
            alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payedFuwuqi");
            String result = ((AlipayTradePagePayResponse)alipayClient.pageExecute(alipayRequest)).getBody();
            out.print(result);