|
|
@ -131,8 +131,10 @@ public class PartnerManageController {
|
|
|
|
HttpServletResponse response) throws IOException {
|
|
|
|
HttpServletResponse response) throws IOException {
|
|
|
|
response.setContentType("application/octet-stream;");
|
|
|
|
response.setContentType("application/octet-stream;");
|
|
|
|
response.addHeader("Content-Disposition", "attachment; filename=qr_board.jpg");
|
|
|
|
response.addHeader("Content-Disposition", "attachment; filename=qr_board.jpg");
|
|
|
|
OutputStream ous = response.getOutputStream();
|
|
|
|
try(OutputStream ous = response.getOutputStream()) {
|
|
|
|
clientManager.writeAggregateQrCodeBoard(manager, clientMoniker, config, ous, "PC");
|
|
|
|
clientManager.writeAggregateQrCodeBoard(manager, clientMoniker, config, ous, "PC");
|
|
|
|
|
|
|
|
ous.flush();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/qrcode_board/CBBankAggregate", method = RequestMethod.GET)
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/qrcode_board/CBBankAggregate", method = RequestMethod.GET)
|
|
|
|