From 4e88cbdefcfba2afb6c85e0e0a8a22ed523ae6a6 Mon Sep 17 00:00:00 2001 From: lr Date: Mon, 24 Feb 2025 16:25:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E6=8A=A5=20=E6=8B=89=E9=BB=91=20?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jiuyi2/api/mine.js | 24 ++ jiuyi2/api/video.js | 2 +- jiuyi2/common/js/config.js | 4 +- jiuyi2/components/index/videoMenu.vue | 268 ++++++------ jiuyi2/pages/index/report.vue | 496 +++++++++++----------- jiuyi2/pages/index/videoHome.vue | 584 ++++++++++++++------------ jiuyi2/pages/mine/myComment.vue | 195 +++++---- jiuyi2/vite.config.js | 4 +- 8 files changed, 839 insertions(+), 738 deletions(-) diff --git a/jiuyi2/api/mine.js b/jiuyi2/api/mine.js index 1b08a2d9..1a0c466f 100644 --- a/jiuyi2/api/mine.js +++ b/jiuyi2/api/mine.js @@ -352,6 +352,30 @@ const mine = { method: 'GET', }) }, + + /** + * 解锁他人评论 + * @param {Object} param + */ + unlockComment(param) { + return util.request({ + url: `/video/comment/unlockOthersComment`, + data: param, + method: 'POST', + }) + }, + + /** + * 拉黑 + * @param {Object} param + */ + blockUser(param) { + return util.request({ + url: `/video/statistics/block`, + data: param, + method: 'POST', + }) + }, } export default mine \ No newline at end of file diff --git a/jiuyi2/api/video.js b/jiuyi2/api/video.js index 0ee5c6a3..3ed33e3c 100644 --- a/jiuyi2/api/video.js +++ b/jiuyi2/api/video.js @@ -426,7 +426,7 @@ const video = { */ reportVideo(param) { return util.request({ - url: `/report/reportVideo`, + url: `/video/videoReport`, data: param.data, method: 'POST', }) diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js index 14677c2f..cbca85b5 100644 --- a/jiuyi2/common/js/config.js +++ b/jiuyi2/common/js/config.js @@ -6,9 +6,9 @@ const config = { // host: 'h5api', // #endif // #ifndef H5 - host: 'http://91f.xyz:8080', + // host: 'http://91f.xyz:8080', // host: 'https://1a880cd5.r24.cpolar.top/', - // host: 'http://6mkwby.natappfree.cc', + host: 'http://aere2w.natappfree.cc', // #endif // 支付方式配置 payType: { diff --git a/jiuyi2/components/index/videoMenu.vue b/jiuyi2/components/index/videoMenu.vue index b8f010ef..d38660b5 100644 --- a/jiuyi2/components/index/videoMenu.vue +++ b/jiuyi2/components/index/videoMenu.vue @@ -1,138 +1,138 @@ \ No newline at end of file diff --git a/jiuyi2/pages/index/report.vue b/jiuyi2/pages/index/report.vue index 9d151bf2..fe57a43f 100644 --- a/jiuyi2/pages/index/report.vue +++ b/jiuyi2/pages/index/report.vue @@ -1,203 +1,204 @@