ต่อ api จังหวัด /อำเภอ หน้า information
This commit is contained in:
parent
3858259b56
commit
4c78d4eab4
3 changed files with 70 additions and 22 deletions
|
|
@ -4,9 +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/`;
|
||||
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}`,
|
||||
|
|
@ -17,5 +17,5 @@ export default {
|
|||
educationLevel,
|
||||
province,
|
||||
listDistrict: (id: string) => `${district}${id}`,
|
||||
listSubDistrict: (id: string) => `${subDistrict}${id}`,
|
||||
listSubDistrict: (id: string) => `${subDistrict}${id}`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue