อัพเดท api ที่อยู่
This commit is contained in:
parent
a02e4fe4ec
commit
31529815d2
3 changed files with 92 additions and 85 deletions
|
|
@ -4,6 +4,9 @@ const prefix = `${env.API_URI}/prefix/`
|
|||
const religion = `${env.API_URI}/religion/`
|
||||
const relationship = `${env.API_URI}/relationship/`
|
||||
const educationLevel = `${env.API_URI}/education-level/`
|
||||
const province = `${env.API_URI}/province/`;
|
||||
const district = `${env.API_URI}/district/`;
|
||||
const subDistrict = `${env.API_URI}/sub-district/`;
|
||||
|
||||
export default {
|
||||
countDashbordSubHistory: (type: number) => `${dashbord}${type}`,
|
||||
|
|
@ -11,5 +14,8 @@ export default {
|
|||
prefix,
|
||||
religion,
|
||||
relationship,
|
||||
educationLevel
|
||||
educationLevel,
|
||||
province,
|
||||
listDistrict: (id: string) => `${district}${id}`,
|
||||
listSubDistrict: (id: string) => `${subDistrict}${id}`,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue