| | |
| | | * @date 2024/5/29 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/inner/pay") |
| | | @RequestMapping("/pay") |
| | | @RequiredArgsConstructor |
| | | public class PayController { |
| | | |
| | | private final IPaylogService paylogService; |
| | | private final PaylogServiceImpl paylogServiceImpl; |
| | | |
| | | @InnerAuth |
| | | @PostMapping("/refund-batch") |
| | | public R<Map<String, Object>> refund(@RequestBody List<RefundDTO> refundDTOS) { |
| | | return R.ok(paylogService.refund(refundDTOS)); |
| | | } |
| | | |
| | | @InnerAuth |
| | | @PostMapping("/refund-batch1") |
| | | public R refund(@RequestBody RefundDTO refundDTOS) { |
| | | paylogService.refund1(refundDTOS); |
| | | return R.ok(); |
| | | } |
| | | } |