处理app下载次数问题

This commit is contained in:
wanggeng 2022-08-08 16:41:04 +08:00
parent 8af43b4be0
commit 40dda4e47a

View File

@ -168,7 +168,7 @@ public class AppVersionServiceImpl extends DefaultBaseService implements IAppVer
params.put("fileId", appVersionPO.getAppFile()); params.put("fileId", appVersionPO.getAppFile());
params.put("isOpen", false); params.put("isOpen", false);
boolean isDownloadComplete = fileService.downLoadFile(request, response, params, true); boolean isDownloadComplete = fileService.downLoadFile(request, response, params, true);
if(isDownloadComplete) { if (isDownloadComplete) {
LOG.debug("更新下载次数"); LOG.debug("更新下载次数");
appVersionDao.updateDownloadCount(appVersionPO.getAppVersionId()); appVersionDao.updateDownloadCount(appVersionPO.getAppVersionId());
} }