|
|
@@ -19,6 +19,6 @@ export async function fetchProductList(body: API.ProductListReq) {
|
|
|
return request<API.ProductListResult>('/product/list', { method: 'POST', data: body });
|
|
|
}
|
|
|
|
|
|
-export async function fetchProductDetail(body: { id: number }) {
|
|
|
+export async function fetchProductDetail(body: API.ProductDetailReq) {
|
|
|
return request<API.ProductDetailResult>('/product/detail', { method: 'POST', data: body });
|
|
|
}
|