Files
zn-ai/src/api/commodityOrderList.ts
DEV_DSW 2eaa8951f6 feat(api): generate and update API client modules
Add new API client modules for various endpoints including authentication, orders, events, and configuration management. Update existing modules to use the standardized request utility. Add post-generation script to restore request.ts after openapi-ts generation to prevent file deletion issues.

The API client generation now includes comprehensive TypeScript types and proper request handling for all endpoints. The request utility has been enhanced to handle query parameters and response parsing consistently across all API calls.
2026-04-20 16:42:04 +08:00

24 lines
548 B
TypeScript

/* eslint-disable */
// @ts-ignore
import request from './request';
import * as API from './types';
/** 商品订单列表 商品订单列表 POST /order/commodityOrderList */
export function orderCommodityOrderListUsingPost({
body,
options,
}: {
body: API.CommodityOrderListSearchForm;
options?: { [key: string]: unknown };
}) {
return request<API.RPageCommodityOrderDTO>('/order/commodityOrderList', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}