mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-11 05:11:59 +08:00
add get country to system core (#476)
This commit is contained in:
parent
a4a1cdb182
commit
10bb3f19ea
@ -44,6 +44,14 @@ export function getWarehousesList({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get Country definition from server using id or uuid for record
|
||||||
|
export function getCountryDefinition({ countryUuid, countryId }) {
|
||||||
|
return Instance.call(this).requestGetCountry({
|
||||||
|
countryUuid,
|
||||||
|
countryId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// Get languages from api
|
// Get languages from api
|
||||||
export function requestLanguages({ pageToken, pageSize }) {
|
export function requestLanguages({ pageToken, pageSize }) {
|
||||||
return Instance.call(this).requestListLanguages({ pageToken, pageSize })
|
return Instance.call(this).requestListLanguages({ pageToken, pageSize })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user