|
@@ -72,7 +72,7 @@ public class SceneDownLoadServiceImpl implements ISceneDownLoadService {
|
|
|
if(Objects.isNull(downLoadTaskBean)){
|
|
|
continue;
|
|
|
}
|
|
|
- handlerService.download(downLoadTaskBean);
|
|
|
+ handlerService.downloadV3(downLoadTaskBean);
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -100,7 +100,11 @@ public class SceneDownLoadServiceImpl implements ISceneDownLoadService {
|
|
|
//本地缓存入队
|
|
|
CurrentDownloadNumUtil.addSceneNum(num, version);
|
|
|
//正在下载任务入队
|
|
|
- redisUtil.lLeftPush(RedisKey.SCENE_V3_DOWNLOAD_ING, num);
|
|
|
+ String downloadingKey = RedisKey.SCENE_DOWNLOAD_ING;
|
|
|
+ if("v3".equals(version)){
|
|
|
+ downloadingKey = RedisKey.SCENE_V3_DOWNLOAD_ING;
|
|
|
+ }
|
|
|
+ redisUtil.lLeftPush(downloadingKey, num);
|
|
|
return downLoadTaskBean;
|
|
|
}
|
|
|
|