// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** 分页获取ActionDetection列表 POST /action_detection/getActionDetectionList */
export async function postActionDetectionGetActionDetectionList(
  body: API.SearchActionDetectionParams,
  options?: { [key: string]: any },
) {
  return request<API.Response & { data?: API.PageResult; msg?: string }>(
    `/api/v1/action_detection/getActionDetectionList`,
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    },
  );
}
