交易记录下载 返回文件流改为返回文件下载地址
This commit is contained in:
@@ -211,9 +211,8 @@ public class ConvenientInquiryController {
|
||||
}
|
||||
|
||||
@ApiOperation("下载交易记录")
|
||||
@GetMapping("/queryTransaction/download")
|
||||
public void exportTransactionRecords(@RequestParam String params, HttpServletResponse response){
|
||||
convenientInquiryService.exportTransactionRecords(params, response);
|
||||
// return Response.success();
|
||||
@PostMapping("/queryTransaction/download")
|
||||
public Response<String> exportTransactionRecords(@Valid @RequestBody QueryPaymentInfoDTO queryPaymentInfoDTO, HttpServletResponse response){
|
||||
return Response.success(convenientInquiryService.exportTransactionRecords(queryPaymentInfoDTO, response));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user