feat: 喂养计划

This commit is contained in:
ilhamtahir committed 2025-01-21 09:09:42 +08:00
1 parent dfadf3a8f0
commit b2d41fd537
22 files changed
+506 -17

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import type { CreatePetRequest, Pet } from '@/model/pet'
import httpClient from '@/api/httpClient'
export function createPet(createPetRequest: CreatePetRequest) {
return httpClient.post('/pets', createPetRequest)
return httpClient.post<Pet>('/pets', createPetRequest)
}
export function getOwnPets() {