ทะเบียนประวัติ: 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}`,
};