Commit 4e3f0120 by 陶光胜

init

parent ea2984c5
......@@ -51,12 +51,13 @@ public abstract class QrcodeDownload {
private QrcodeQO qrcodeQO = null;
private Integer total;
private int qrcodeType;
private DownloadReportApiService downloadReportApiService;
private WeixinBaseFunService weixinBaseFunService;
private WeixinWxaFunService weixinWxaFunService;
private QrCodeApiService qrCodeApiService;
public void takeQrcode(QrcodeQO qrcodeQO, int total,
public void takeQrcode(QrcodeQO qrcodeQO, int total, int qrcodeType,
DownloadReportApiService downloadReportApiService,
WeixinBaseFunService weixinBaseFunService,
WeixinWxaFunService weixinWxaFunService,
......@@ -67,6 +68,7 @@ public abstract class QrcodeDownload {
this.weixinWxaFunService = weixinWxaFunService;
this.qrCodeApiService = qrCodeApiService;
this.total = total;
this.qrcodeType = qrcodeType;
Integer reportId = this.saveDownloadLog();
String fileId = ToolUtil.randomUUID();
String filePath = RequestContext.getContext().getRequest().getSession().getServletContext().getRealPath("/qrcode");
......@@ -97,6 +99,7 @@ public abstract class QrcodeDownload {
dto.setCustomParams(content.getCustomParams());
dto.setContent(content.getContent());
dto.setFileId(ToolUtil.randomUUID());
dto.setQrCodeType(qrcodeType);
ServiceResponse<Integer> response = qrCodeApiService.saveQrcodeDownload(dto);
if (response.isSuccess()) {
Integer qrcodeId = response.getResult();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment