|
@@ -37,6 +37,7 @@ import com.fdkankan.redis.util.RedisLockUtil;
|
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
|
import com.fdkankan.scene.api.dto.SceneInfoDTO;
|
|
|
import com.fdkankan.scene.bean.BoxPhotoBean;
|
|
|
+import com.fdkankan.scene.bean.RequestSceneProV4;
|
|
|
import com.fdkankan.scene.bean.SceneJsonBean;
|
|
|
import com.fdkankan.scene.bean.TagBean;
|
|
|
import com.fdkankan.scene.callback.FdkkMiniReqErrorCallback;
|
|
@@ -120,6 +121,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
private int waitTime;
|
|
|
@Value("${http.host.4dkankanMini}")
|
|
|
private String fkankanMiniHost;
|
|
|
+ @Value("${http.api-v4.upgradeToV4ResultSync}")
|
|
|
+ private String URL_UPGRADE_TO_V4_RESULT_SYNC;
|
|
|
|
|
|
@Autowired
|
|
|
private ISceneEditControlsService sceneEditControlsService;
|
|
@@ -297,6 +300,14 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
// sceneEditControlsService.updateById(sceneEditControls);
|
|
|
// }
|
|
|
|
|
|
+ // todo 调用v3接口同步场景缩略图url---------------------------------start
|
|
|
+ String url = fkankanMiniHost + URL_UPGRADE_TO_V4_RESULT_SYNC;
|
|
|
+ fdkankanMiniClient.upgradeToV4ResultSync(url,
|
|
|
+ RequestSceneProV4.builder().id(scenePlus.getId()).thumb(scenePlusExt.getThumb()).sceneName(sceneEditInfo.getTitle()).build(),
|
|
|
+ new FdkkMiniReqSuccessCallback(), new FdkkMiniReqErrorCallback()
|
|
|
+ );
|
|
|
+ // todo 调用v3接口同步场景缩略图url---------------------------------end
|
|
|
+
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
|