country.js 435 B

123456789101112131415161718192021
  1. import Service from '../lib/service'
  2. class CountryService extends Service {
  3. constructor () {
  4. super()
  5. }
  6. //获取国家列表
  7. async Country (params = {}) {
  8. let res = await this.postAll("Host80","/country/get", params);
  9. return res
  10. }
  11. //获取国家列表
  12. async CountryGet (params = {}) {
  13. let res = await this.getAll("Host80","/country/get", params);
  14. return res
  15. }
  16. }
  17. export default new CountryService