diff --git a/src/api/chat.js b/src/api/chat.js index bf653caf8..cd18aac44 100644 --- a/src/api/chat.js +++ b/src/api/chat.js @@ -293,3 +293,20 @@ export function getSimulationMembersNew(group) { method: 'get' }); } + +// 获取仿真会话列表(新版地图) +export function getSimulationConversationListNew(group) { + return request({ + url: `/simulation/${group}/conversations`, + method: 'get' + }); +} + +// 获取/创建仿真会话(新版地图) +export function getSimulationConversationIdNew(params, group) { + return request({ + url: `/simulation/${group}/wx/conversation`, + method: 'get', + params: params + }); +} diff --git a/src/views/newMap/jointTrainingNew/chatBox.vue b/src/views/newMap/jointTrainingNew/chatBox.vue index d777e00dc..ea530e5fa 100644 --- a/src/views/newMap/jointTrainingNew/chatBox.vue +++ b/src/views/newMap/jointTrainingNew/chatBox.vue @@ -4,7 +4,7 @@