lidongdong
2023-03-17 61c40067c64e8038a24140034a9dec4b27f8dcc6
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommonApi.java
@@ -255,28 +255,34 @@
    @ApiOperation("uu洗车银联下单接口")
    @GetMapping("/uuUnionpayPay")
    public R uuUnionpayPay(@RequestParam("amount")String amount,@RequestParam("productId")String productId){
        String map= UnifiedOrder.sendOrder(amount,"uu洗车下单",productId);
    public R uuUnionpayPay(@RequestParam("amount")String amount,
                           @RequestParam("productId")String productId,
                           @RequestParam("openId")String openId){
        String map= UnifiedOrder.sendOrder(amount,"uu洗车下单",productId,openId);
        return R.ok(map);
    }
    @ApiOperation("无水洗车银联下单接口")
    @GetMapping("/wsUnionpayPay")
    public R wsUnionpayPay(@RequestParam("amount")String amount,@RequestParam("productId")String productId){
        String map= UnifiedOrder.sendOrder(amount,"无水洗车下单",productId);
    public R wsUnionpayPay(@RequestParam("amount")String amount,
                           @RequestParam("productId")String productId,
                           @RequestParam("openId")String openId){
        String map= UnifiedOrder.sendOrder(amount,"无水洗车下单",productId,openId);
        return R.ok(map);
    }
    @ApiOperation("uu洗车银联退款接口")
    @GetMapping("/uuUnionpayRefund")
    public R uuUnionpayRefundPay(@RequestParam("refundAmount")String refundAmount,@RequestParam("refundOrderId")String refundOrderId){
    public R uuUnionpayRefundPay(@RequestParam("refundAmount")String refundAmount,
                                 @RequestParam("refundOrderId")String refundOrderId){
        String map= Refund.sendOrder(refundAmount,refundOrderId);
        return R.ok(map);
    }
    @ApiOperation("无水洗车银联退款接口")
    @GetMapping("/wsUnionpayRefund")
    public R wsUnionpayRefundPay(@RequestParam("refundAmount")String refundAmount,@RequestParam("refundOrderId")String refundOrderId){
    public R wsUnionpayRefundPay(@RequestParam("refundAmount")String refundAmount,
                                 @RequestParam("refundOrderId")String refundOrderId){
        String map= Refund.sendOrder(refundAmount,refundOrderId);
        return R.ok(map);
    }