diff --git a/Yi.BBS.Vue3/src/apis/discussApi.js b/Yi.BBS.Vue3/src/apis/discussApi.js index 9c748044..2972574b 100644 --- a/Yi.BBS.Vue3/src/apis/discussApi.js +++ b/Yi.BBS.Vue3/src/apis/discussApi.js @@ -5,4 +5,11 @@ export function getList(data){ method: 'get', params:data }) +}; + +export function getListByPlateId(plateId){ + return myaxios({ + url: `/discuss/plate-id/${plateId}`, + method: 'get' + }) }; \ No newline at end of file diff --git a/Yi.BBS.Vue3/src/components/PlateCard.vue b/Yi.BBS.Vue3/src/components/PlateCard.vue index d698275d..a984e0a7 100644 --- a/Yi.BBS.Vue3/src/components/PlateCard.vue +++ b/Yi.BBS.Vue3/src/components/PlateCard.vue @@ -11,7 +11,7 @@ {{props.name}}