处理app下载次数问题
This commit is contained in:
parent
8af43b4be0
commit
40dda4e47a
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user