client.js 820 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { HcApi } from '../../request/index'
  2. export default {
  3. async page(form) {
  4. return HcApi({
  5. url: '/api/blade-system/client/list',
  6. method: 'get',
  7. params: form,
  8. })
  9. },
  10. //菜单详情
  11. async detail(id) {
  12. return HcApi({
  13. url: '/api/blade-system/client/detail',
  14. method: 'get',
  15. params: {
  16. id,
  17. },
  18. })
  19. },
  20. async submit(form) {
  21. return HcApi({
  22. url: '/api/blade-system/client/submit',
  23. method: 'post',
  24. data: form,
  25. })
  26. },
  27. async del(ids) {
  28. return HcApi({
  29. url: '/api/blade-system/client/remove',
  30. method: 'post',
  31. params: {
  32. ids,
  33. },
  34. })
  35. },
  36. }