import request from "@/utils/request";

export function index (params,isLoading=true) {
  return request({
    method: "get",
    url: "/api/person/category/index",
    params,
    isLoading
  })
}

export function store (data,isLoading=true) {
  return request({
    method: "post",
    url: "/api/person/record/store",
    data,
    isLoading
  })
}
