|
@@ -202,10 +202,10 @@ public class SceneFileController{
|
|
|
|
|
|
|
|
@SignVerification
|
|
@SignVerification
|
|
|
@PostMapping(value = "/testUpload")
|
|
@PostMapping(value = "/testUpload")
|
|
|
- public ResultData testUpload(String params) throws Exception{
|
|
|
|
|
-// String params = snCode + "#" + fileId + "#" + uniCode;
|
|
|
|
|
|
|
+ public ResultData testUpload(String snCode, String fileId, String uniCode) throws Exception{
|
|
|
|
|
+ String params = snCode + "#" + fileId + "#" + uniCode;
|
|
|
String encode = Base64.encode(RSAEncrypt.encrypt(RSAEncrypt.loadPublicKeyByStr(RSAEncrypt.loadPublicKeyByFile()), params.getBytes(StandardCharsets.UTF_8)));
|
|
String encode = Base64.encode(RSAEncrypt.encrypt(RSAEncrypt.loadPublicKeyByStr(RSAEncrypt.loadPublicKeyByFile()), params.getBytes(StandardCharsets.UTF_8)));
|
|
|
- sceneFileBuildService.turntableUploadSuccess(params);
|
|
|
|
|
|
|
+ sceneFileBuildService.turntableUploadSuccess(encode);
|
|
|
return ResultData.ok();
|
|
return ResultData.ok();
|
|
|
}
|
|
}
|
|
|
|
|
|