This commit is contained in:
STW_TTTY\stwtt 2024-09-23 17:00:32 +07:00
parent daa2054b56
commit 3fc9258d99
5 changed files with 222 additions and 60 deletions

View file

@ -1,6 +1,7 @@
import env from "../index";
const command = `${env.API_URI}/org/command`;
const commandSalary = `${env.API_URI}/org/commandSalary`;
export default {
commandType: `${command}Type/list`, //ประเภทคำสั่ง
@ -8,4 +9,6 @@ export default {
command, //สร้างคำสั่ง
commandAction: (commandId: string, type: string) =>
`${command}/${type}/${commandId}`,
commandSalaryList:(command:string)=>`${commandSalary}/list&commandSysId=${command}`
};