diff --git a/api/chick.js b/api/chick.js index 867f9dd..34634a0 100644 --- a/api/chick.js +++ b/api/chick.js @@ -15,4 +15,9 @@ export const animalInfoAPI = (data) => syhttp.get('/AnimalBreed/animalInfo', dat // 图片列表 export const animalPicListAPI = (data) => syhttp.get('/PoultryBreed/poultryPicList', data) // 上传动物图片 -export const addAnimalPicAPI = (data) => syhttp.post('/PoultryBreed/addPoultryPic', data) \ No newline at end of file +export const addAnimalPicAPI = (data) => syhttp.post('/PoultryBreed/addPoultryPic', data) +// 家禽详情 +export const poultryInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data) +// 更新状态 +export const poultryStatusAPI = (data) => syhttp.post('/PoultryBreed/poultryStatus', data) +// /api/PoultryBreed/poultryPicList \ No newline at end of file diff --git a/pages/feedIng/SingleDetail.vue b/pages/feedIng/SingleDetail.vue index b5abbc5..5808bcc 100644 --- a/pages/feedIng/SingleDetail.vue +++ b/pages/feedIng/SingleDetail.vue @@ -7,7 +7,7 @@ 刷新时间:{{dateFn()}} - + 查看历史条件 @@ -67,6 +67,12 @@