|
@@ -130,7 +130,8 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, WorkEntity> impleme
|
|
|
|
|
|
@Value("${queue.relics-update-name-queue:#{null}}")
|
|
|
String relicsUpdateNameQueue;
|
|
|
-
|
|
|
+ @Value("${queue.update-scene-title:#{null}}")
|
|
|
+ String updateSceneTitle;
|
|
|
@Resource
|
|
|
private FileStorageTemplate ossUtil;
|
|
|
|
|
@@ -607,6 +608,11 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, WorkEntity> impleme
|
|
|
map.put("sceneCode", entity.getNum());
|
|
|
map.put("sceneName", entity.getName());
|
|
|
rabbitMqProducer.sendByWorkQueue(relicsUpdateNameQueue, map);
|
|
|
+
|
|
|
+ Map<String,Object> fdkkMap=new HashMap<>();
|
|
|
+ fdkkMap.put("sceneNewTitle",entity.getName());
|
|
|
+ fdkkMap.put("sceneNum",entity.getNum());
|
|
|
+ rabbitMqProducer.sendByWorkQueue(updateSceneTitle,map);
|
|
|
}
|
|
|
|
|
|
entity.setIcon(someDataJson.getString("icon"));
|