接口更新

This commit is contained in:
linfeng 2024-04-23 10:50:03 +08:00
parent 1f39478730
commit 901020d5df
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ import java.util.List;
*/ */
@Api(tags = "用户端——分类") @Api(tags = "用户端——分类")
@RestController @RestController
@RequestMapping("app/topic") @RequestMapping("app/category")
public class AppCategoryController { public class AppCategoryController {

View File

@ -20,7 +20,7 @@
}, },
methods: { methods: {
getClassList() { getClassList() {
this.$H.get('topic/classList').then(res => { this.$H.get('category/classList').then(res => {
this.classList = res.result this.classList = res.result
}) })
}, },

View File

@ -58,10 +58,10 @@
pageCurrent: 0, pageCurrent: 0,
current: 0, current: 0,
pageTab: [{ pageTab: [{
name: '创作广场' name: '广场'
}, },
{ {
name: '发帖达人' name: '达人'
} }
], ],
classList: [{ classList: [{
@ -154,7 +154,7 @@
this.getPostList() this.getPostList()
}, },
getClassList() { getClassList() {
this.$H.get('topic/classList').then(res => { this.$H.get('category/classList').then(res => {
this.classList = this.classList.concat(res.result) this.classList = this.classList.concat(res.result)
}) })
}, },