import httpClient from '@/utils/http';

import { ControllerResponse, ModelItemListRequest, ModelItemListResponse } from './data-contracts';
export default {
  /**
   * @description 通用下拉列表
   */
  queryCreate: (request: ModelItemListRequest) => {
    return httpClient.post<
      ControllerResponse & {
        data?: ModelItemListResponse;
      }
    >(`/item-list/query`, { params: request });
  }
};
