交易记录下载post请求改get请求

This commit is contained in:
2025-01-27 10:58:35 +08:00
parent c7b1d46b18
commit 708280ca14
3 changed files with 8 additions and 5 deletions

View File

@@ -211,9 +211,9 @@ public class ConvenientInquiryController {
}
@ApiOperation("下载交易记录")
@PostMapping("/queryTransaction/download")
public void exportTransactionRecords(@Valid @RequestBody QueryPaymentInfoDTO queryPaymentInfoDTO, HttpServletResponse response){
convenientInquiryService.exportTransactionRecords(queryPaymentInfoDTO, response);
@GetMapping("/queryTransaction/download")
public void exportTransactionRecords(@RequestParam String params, HttpServletResponse response){
convenientInquiryService.exportTransactionRecords(params, response);
// return Response.success();
}
}