接口更新

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 = "用户端——分类")
@RestController
@RequestMapping("app/topic")
@RequestMapping("app/category")
public class AppCategoryController {

View File

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

View File

@ -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)
})
},