| | |
| | | import com.ruoyi.payment.api.model.WxPaymentRefundModel; |
| | | import com.ruoyi.payment.api.vo.NotifyV3PayDecodeRespBody; |
| | | import com.ruoyi.payment.api.vo.PaymentOrder; |
| | | import com.ruoyi.payment.api.vo.WxRefundNotifyResp; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/wx/query/queryOrderInfo") |
| | | R<NotifyV3PayDecodeRespBody> queryOrderInfo(String orderId); |
| | | R<NotifyV3PayDecodeRespBody> queryOrderInfo(@RequestParam("orderId") String orderId); |
| | | |
| | | |
| | | /** |
| | |
| | | @PostMapping("/wx/orderPay") |
| | | R<Map<String, Object>> orderPay(@RequestBody PaymentOrder paymentOrder); |
| | | |
| | | |
| | | /** |
| | | * 支付回调 |
| | | * @param request |
| | | * @return |
| | | */ |
| | | @PostMapping("/wx/pay/notify") |
| | | R<Map<String, Object>> payNotify(HttpServletRequest request); |
| | | |
| | | /** |
| | | * 支付回调成功后的成功应答 |
| | | */ |
| | | @PostMapping("/wx/pay/ack") |
| | | void ack(); |
| | | |
| | | |
| | | /** |