add boxes
This commit is contained in:
@@ -30,7 +30,7 @@ export const item_requests = {
|
||||
return request.get<CommonResponseType<Product[]>>('/items/find', { params });
|
||||
},
|
||||
async list(params: { packetId?: number | string; page?: number | string }) {
|
||||
return request.get<CommonResponseType<{ data: Product[] }>>('/items/list', { params });
|
||||
return request.get<CommonResponseType<PageAble<{ data: Product[] }>>>('/items/list', { params });
|
||||
},
|
||||
async delete(params: { itemId: number | string }) {
|
||||
return request.delete<CommonResponseType>('/items/delete', { params });
|
||||
|
||||
Reference in New Issue
Block a user