From 151bd9ec646b9ceba86d6b83db2b3b19564dc5ed Mon Sep 17 00:00:00 2001 From: maziyang <2049865907@qq.com> Date: Wed, 29 Oct 2025 14:13:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerServicePlatform.js | 21 +++++++++++++++++++++ pages/customerServicePlatform/historyRecord.vue | 13 +++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 api/customerServicePlatform/customerServicePlatform.js diff --git a/api/customerServicePlatform/customerServicePlatform.js b/api/customerServicePlatform/customerServicePlatform.js new file mode 100644 index 0000000..7208adc --- /dev/null +++ b/api/customerServicePlatform/customerServicePlatform.js @@ -0,0 +1,21 @@ +import { http } from '@/utils/http.js' + +const baseFeedbackURL = "http://39.101.133.168:8828/link" + + +//反馈添加 +export const addFeedbackRecord = (data) => { + return http({ + method: 'POST', + url: baseFeedbackURL +'/third/dcFeedBack/feedback/add', + data + }) +} +//反馈历史记录 +export const getFeedbackRecords = (data) => { + return http({ + method: 'POST', + url: baseFeedbackURL+'/third/dcFeedBack/feedback/select', + data + }) +} \ No newline at end of file diff --git a/pages/customerServicePlatform/historyRecord.vue b/pages/customerServicePlatform/historyRecord.vue index 6108f26..e6c0cb1 100644 --- a/pages/customerServicePlatform/historyRecord.vue +++ b/pages/customerServicePlatform/historyRecord.vue @@ -56,6 +56,7 @@