add: 新增宠物手册分类接口对接
This commit is contained in:
1 parent
5ca4ef7522
commit
c096a2c69b
3 files changed
+25
-13
No files matched your search
+5
-2
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user