From 901020d5df1a06ecd8e69ace6b92a1ec668dae0c Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Tue, 23 Apr 2024 10:50:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/app/controller/AppCategoryController.java | 2 +- .../linfeng-community-uniapp-ky/pages/post/category.vue | 2 +- .../linfeng-community-uniapp-ky/pages/square/square.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/linfeng/modules/app/controller/AppCategoryController.java b/src/main/java/io/linfeng/modules/app/controller/AppCategoryController.java index a900b8b..26954ad 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppCategoryController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppCategoryController.java @@ -18,7 +18,7 @@ import java.util.List; */ @Api(tags = "用户端——分类") @RestController -@RequestMapping("app/topic") +@RequestMapping("app/category") public class AppCategoryController { diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/post/category.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/post/category.vue index 3694c2e..043efab 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/post/category.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/post/category.vue @@ -20,7 +20,7 @@ }, methods: { getClassList() { - this.$H.get('topic/classList').then(res => { + this.$H.get('category/classList').then(res => { this.classList = res.result }) }, diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue index f30b8a4..a0af107 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue @@ -58,10 +58,10 @@ pageCurrent: 0, current: 0, pageTab: [{ - name: '创作广场' + name: '广场' }, { - name: '发帖达人' + name: '达人' } ], classList: [{ @@ -154,7 +154,7 @@ this.getPostList() }, getClassList() { - this.$H.get('topic/classList').then(res => { + this.$H.get('category/classList').then(res => { this.classList = this.classList.concat(res.result) }) },