|
@@ -67,8 +67,8 @@ public class SceneServiceImpl implements ISceneService {
|
|
|
file.transferTo(tempFile);
|
|
|
|
|
|
String orgImgOssPath = "body_segment/original/" + tempFile.getName();
|
|
|
-// ossBodySegmentUtil.uploadOss(tempFile.getPath(), orgImgOssPath);
|
|
|
- fYunFileService.uploadFile(bodySegmentBucket, tempFile.getPath(), orgImgOssPath);
|
|
|
+ ossBodySegmentUtil.uploadOss(tempFile.getPath(), orgImgOssPath);
|
|
|
+// fYunFileService.uploadFile(bodySegmentBucket, tempFile.getPath(), orgImgOssPath);
|
|
|
|
|
|
BodySegmentStatusBean bodySegmentStatusBean = BodySegmentStatusBean.builder().uuid(uuid).status(CommonOperStatus.WAITING.code()).build();
|
|
|
redisUtil.hset(RedisKey.SCENE_BODY_SEGMENT, uuid, JSON.toJSONString(bodySegmentStatusBean));
|