Browse Source

v4.7.1分割抠图

dsx 2 years ago
parent
commit
01906e35eb

+ 1 - 1
src/main/java/com/fdkankan/scene/service/impl/SceneServiceImpl.java

@@ -143,7 +143,7 @@ public class SceneServiceImpl implements ISceneService {
     @Override
     public ResultData getBodySegmentStatus(String uuid) {
 
-        String progress = redisUtil.hget(RedisKey.SCENE_BODY_SEGMENT, uuid);
+        String progress = redisUtil.get(String.format(RedisKey.SCENE_BODY_SEGMENT, uuid));
         if(StrUtil.isEmpty(progress)){
             throw new BusinessException(ErrorCode.FAILURE_CODE_5038);
         }