Browse Source

场景发布 同步简介到v3数据库

dengsixing 3 years ago
parent
commit
4d3aac6df4

+ 2 - 0
4dkankan-center-scene/src/main/java/com/fdkankan/scene/bean/RequestSceneProV4.java

@@ -29,5 +29,7 @@ public class RequestSceneProV4 {
 
 
     private String sceneName;
     private String sceneName;
 
 
+    private String sceneDec;
+
 
 
 }
 }

+ 6 - 1
4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

@@ -311,7 +311,12 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
         // todo 调用v3接口同步场景缩略图url---------------------------------start
         // todo 调用v3接口同步场景缩略图url---------------------------------start
         String url = fkankanMiniHost + URL_UPGRADE_TO_V4_RESULT_SYNC;
         String url = fkankanMiniHost + URL_UPGRADE_TO_V4_RESULT_SYNC;
         fdkankanMiniClient.upgradeToV4ResultSync(url,
         fdkankanMiniClient.upgradeToV4ResultSync(url,
-            RequestSceneProV4.builder().id(scenePlus.getId()).thumb(scenePlusExt.getThumb()).sceneName(sceneEditInfo.getTitle()).build(),
+            RequestSceneProV4.builder()
+                .id(scenePlus.getId())
+                .thumb(scenePlusExt.getThumb())
+                .sceneName(sceneEditInfo.getTitle())
+                .sceneDec(sceneEditInfo.getDescription())
+                .build(),
             new FdkkMiniReqSuccessCallback(), new FdkkMiniReqErrorCallback()
             new FdkkMiniReqSuccessCallback(), new FdkkMiniReqErrorCallback()
         );
         );
         // todo 调用v3接口同步场景缩略图url---------------------------------end
         // todo 调用v3接口同步场景缩略图url---------------------------------end