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

const prefix = "/sys";

const sysApi = {
  findAll: {
    url: prefix + "/findAll",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code
  },
  findCommon: {
    url: prefix + "/findCommon",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code
  },
  updateCommon: {
    url: prefix + "/updateCommon",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  }
};

export default sysApi;
