ทะเบียนประวัติ: api registry

This commit is contained in:
puriphatt 2024-03-15 11:24:53 +07:00
parent cc659ab4bb
commit 5cece33793
2 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,14 @@
import env from "../index";
const registryNew = `${env.API_URI}/org/profile/`;
export default {
}
registryNew,
profileNewInsign: `${registryNew}insignia`,
profileNewInsignByProfileId: (profileId: string) =>
`${registryNew}insignia/${profileId}`,
profileNewInsignByInsignId: (insignId: string) =>
`${registryNew}insignia/${insignId}`,
profileNewInsignHisByInsignId: (insignId: string) =>
`${registryNew}insignia/history/${insignId}`,
};

View file

@ -23,6 +23,7 @@ import recruit from "./api/recruiting/api.recruit";
/** API Profile List */
import profile from "./api/registry/api.profile";
import registry from "./api/registry/api.registry";
/** API Report2 List */
import report2 from "./api/recruiting/api.report2";
@ -98,6 +99,7 @@ const API = {
//profile
...profile,
...registry,
//report2
...report2,