import env from "../index";
const order = `${env.API_URI}/org`;
const commandSys = `${env.API_URI}/org/commandSys`;
const commandSalary = `${env.API_URI}/org/commandSalary`;
export default {
  commandType: `${order}/commandType`,
  commandSysList: `${commandSys}/list`,
  commandSalary,
  commandSalaryDetail: (
    page: number,
    pageSize: number,
    isActive: boolean,
    commandSysId: string,
    search: string
  ) =>
    `${commandSalary}/admin?page=${page}&pageSize=${pageSize}&isActive=${isActive}&commandSysId=${commandSysId}&searchKeyword=${search}`,
  commandSalaryById: (id: string) => `${commandSalary}/${id}`,
};
