| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/ali/payment") |
| | | R<AliPaymentResp> payment(AliPaymentReq req); |
| | | R<AliPaymentResp> payment(@RequestBody AliPaymentReq req); |
| | | |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/ali/query") |
| | | R<AliQueryOrder> query(String outTradeNo); |
| | | R<AliQueryOrder> query(@RequestParam("outTradeNo") String outTradeNo); |
| | | |
| | | /** |
| | | * 关闭订单 |
| | | * @param outTradeNo |
| | | */ |
| | | @PostMapping("/ali/close") |
| | | void close(String outTradeNo); |
| | | void close(@RequestParam("outTradeNo") String outTradeNo); |
| | | /** |
| | | * 后台退款 远程调用 |
| | | */ |