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