1
0
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:
elsiosanchez 2020-04-30 15:46:56 -04:00 committed by GitHub
parent a4a1cdb182
commit 10bb3f19ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
export function requestLanguages({ pageToken, pageSize }) {
return Instance.call(this).requestListLanguages({ pageToken, pageSize })