systemService.js 425 B

12345678910111213141516171819202122
  1. import { httpClientFactory } from '@/services/httpClientFactory'
  2. const webClient = httpClientFactory('web')
  3. export default {
  4. /**
  5. *
  6. * @returns Promise
  7. */
  8. getSystemInfos(config = {}) {
  9. return webClient.get('infos', { ...config })
  10. },
  11. /**
  12. *
  13. * @returns Promise
  14. */
  15. getLastRelease(config = {}) {
  16. return webClient.get('latestRelease', { ...config })
  17. }
  18. }