add: 新增宠物手册分类接口对接

This commit is contained in:
zlong committed 2024-12-10 23:46:02 +08:00
1 parent 5ca4ef7522
commit c096a2c69b
3 files changed
+25 -13

No files matched your search

+5 -2
View File
@@ -1,10 +1,13 @@
import type { CreateCarousalsRequest } from '@/model/carousals'
import type { CreateCarousalsRequest, TypeList } from '@/model/carousals'
import httpClient from '@/api/httpClient'
function getCarousalList() {
return httpClient.get<CreateCarousalsRequest[]>('/carousals/active-list')
}
function getTypeList() {
return httpClient.get<TypeList[]>('/categories/list')
}
export default {
getCarousalList,
getTypeList,
}