appSettingService.js 275 B

1234567891011121314
  1. import { httpClientFactory } from '@/services/httpClientFactory'
  2. const apiClient = httpClientFactory('api')
  3. export default {
  4. /**
  5. *
  6. * @returns
  7. */
  8. update(name, value) {
  9. return apiClient.put('/settings/' + name, { value: value })
  10. },
  11. }