接口更新
This commit is contained in:
parent
1f39478730
commit
901020d5df
@ -18,7 +18,7 @@ import java.util.List;
|
||||
*/
|
||||
@Api(tags = "用户端——分类")
|
||||
@RestController
|
||||
@RequestMapping("app/topic")
|
||||
@RequestMapping("app/category")
|
||||
public class AppCategoryController {
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
},
|
||||
methods: {
|
||||
getClassList() {
|
||||
this.$H.get('topic/classList').then(res => {
|
||||
this.$H.get('category/classList').then(res => {
|
||||
this.classList = res.result
|
||||
})
|
||||
},
|
||||
|
@ -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)
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user