From 9ca3a139796e2bd36ee1f6b154d483531358aaef Mon Sep 17 00:00:00 2001 From: maziyang <2049865907@qq.com> Date: Fri, 31 Oct 2025 17:36:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E7=AD=94=E6=8E=A5=E5=8F=A3=E6=8B=86?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerServicePlatform.js | 21 +++- pages/customerServicePlatform/questionDetail.vue | 122 ++++++++++++++++++--- 2 files changed, 122 insertions(+), 21 deletions(-) diff --git a/api/customerServicePlatform/customerServicePlatform.js b/api/customerServicePlatform/customerServicePlatform.js index 0345ab0..042baf1 100644 --- a/api/customerServicePlatform/customerServicePlatform.js +++ b/api/customerServicePlatform/customerServicePlatform.js @@ -9,9 +9,24 @@ export const uploadImageApi = (data) => { data }) } - -//问题回答 -export const getAnswerApi = (data) => { +//问题回答最终内容 +export const getAnswerContentApi = (data) => { + return http({ + method: 'POST', + url: '/api/customer/getAnswer', + data + }) +} +//问题回答轮询 +export const getAnswerStatusApi = (data) => { + return http({ + method: 'POST', + url: '/api/customer/getState', + data + }) +} +//问题回答获取Id +export const getAnswerIdApi = (data) => { return http({ method: 'POST', url: '/api/customer/askQuestion', diff --git a/pages/customerServicePlatform/questionDetail.vue b/pages/customerServicePlatform/questionDetail.vue index 2bbba38..4a19766 100644 --- a/pages/customerServicePlatform/questionDetail.vue +++ b/pages/customerServicePlatform/questionDetail.vue @@ -14,7 +14,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -66,7 +66,9 @@