import { MethodType } from "../../enum/method-type.enum";
import { HeaderType } from "../../enum/header-type.enum";

const prefix = "/fileDetailInfo";
const fileDetailInfoApi = {
  // 流程发起
  page: {
    url: prefix + "/page",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  },
  selectByObject: {
    url: prefix + "/selectByObject",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  },
  selectByObjectId: {
    url: prefix + "/selectByObjectId",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  },
  add: {
    url: prefix + "/add",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  },
  deleteById: {
    url: prefix + "/deleteById",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  }
};

export default fileDetailInfoApi;
