From e29ccf65c5e0b5cdfb3793a65da64d7113410536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Sun, 22 Jun 2025 12:02:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v2/all.api.js | 3 ++- pagesA/articles/articles.vue | 28 +++++++++++----------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/api/v2/all.api.js b/api/v2/all.api.js index 3d57f71..f8fe8d4 100644 --- a/api/v2/all.api.js +++ b/api/v2/all.api.js @@ -35,7 +35,8 @@ export default { * @param {Object} params 数据 */ getPostListByKeyword: (params) => { - return HttpHandler.Get(`/apis/api.halo.run/v1alpha1/indices/post`, params) + // return HttpHandler.Get(`/apis/api.halo.run/v1alpha1/indices/post`, params) + return HttpHandler.Post(`/apis/api.halo.run/v1alpha1/indices/-/search`, params) }, /** diff --git a/pagesA/articles/articles.vue b/pagesA/articles/articles.vue index b743887..7921520 100644 --- a/pagesA/articles/articles.vue +++ b/pagesA/articles/articles.vue @@ -1,7 +1,7 @@