|
|
@@ -108,7 +108,7 @@ public class UploadSceneListener {
|
|
|
if(relocation){
|
|
|
this.uploadSceneRelocation(zipDir + uuid);
|
|
|
}else{
|
|
|
- this.uploadSceneOirg(num, zipDir + uuid);
|
|
|
+ this.uploadSceneOirg(num, zipDir + uuid, jsonObject.getIntValue("genGs"));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -130,7 +130,7 @@ public class UploadSceneListener {
|
|
|
// }
|
|
|
|
|
|
|
|
|
- private void uploadSceneOirg(String num, String sourcePath) throws Exception {
|
|
|
+ private void uploadSceneOirg(String num, String sourcePath, Integer genGs) throws Exception {
|
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
NameFileFilter fileFilter = new NameFileFilter("data.fdage");
|
|
|
File dataFdageFile = FileUtil.loopFiles(sourcePath, fileFilter).stream().filter(v -> !v.getAbsolutePath().contains("/backup/")).findFirst().get();
|
|
|
@@ -156,7 +156,7 @@ public class UploadSceneListener {
|
|
|
String params = snCode + "#" + fileId + "#" + uniCode;
|
|
|
String encode = Base64.encode(RSAEncrypt.encrypt(RSAEncrypt.loadPublicKeyByStr(RSAEncrypt.loadPublicKeyByFile()), params.getBytes(StandardCharsets.UTF_8)));
|
|
|
if(camType == 9 || camType == 10 || camType == 11 || camType == 12){
|
|
|
- sceneFileBuildService.turntableUploadSuccess(encode, user, true, false);
|
|
|
+ sceneFileBuildService.turntableUploadSuccess(encode, user, true, false, genGs);
|
|
|
}else{
|
|
|
sceneFileBuildService.uploadSuccessBuild(encode, user, true, false);
|
|
|
}
|