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 @@