|
@@ -865,18 +865,19 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
log.info("sendCallAlgorithm 参数为:{}", JSONObject.toJSONString(param));
|
|
|
|
|
|
String filePath = param.getFilepath();
|
|
|
- String details = param.getDetails()
|
|
|
- .replace("base64_urlsafe:","")
|
|
|
- .replaceAll("-","+")
|
|
|
- .replaceAll("_","/")
|
|
|
- .concat("==");
|
|
|
- try {
|
|
|
- details = cn.hutool.core.codec.Base64.decodeStr(details);
|
|
|
- }catch (Exception e){
|
|
|
- log.error("details解密报错,details:{}", details);
|
|
|
- log.error("details解密报错", e);
|
|
|
- return ResultData.error(ErrorCode.PARAM_FORMAT_ERROR);
|
|
|
- }
|
|
|
+// String details = param.getDetails()
|
|
|
+// .replace("base64_urlsafe:","")
|
|
|
+// .replaceAll("-","+")
|
|
|
+// .replaceAll("_","/")
|
|
|
+// .concat("==");
|
|
|
+// try {
|
|
|
+// details = cn.hutool.core.codec.Base64.decodeStr(details);
|
|
|
+// }catch (Exception e){
|
|
|
+// log.error("details解密报错,details:{}", details);
|
|
|
+// log.error("details解密报错", e);
|
|
|
+// return ResultData.error(ErrorCode.PARAM_FORMAT_ERROR);
|
|
|
+// }
|
|
|
+ String details = param.getDetails();
|
|
|
SendCallAlgorithmDetail detail = JSON.parseObject(details, SendCallAlgorithmDetail.class);
|
|
|
Integer fileChunkSum = detail.getFileChunkSum();
|
|
|
|