setting.js 715 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. const { post } = require('./request')
  2. module.exports = {
  3. getDeviceConfigs(data){
  4. return post({
  5. url: '/get_device_configs'
  6. })
  7. },
  8. getDeviceConfigDetail(data){
  9. return post({
  10. url: '/device_config_detail',
  11. data: data,
  12. headers:{
  13. 'Content-Type':"application/json",
  14. }
  15. })
  16. },
  17. //��̨ͼ
  18. removeConfig(data){
  19. return post({
  20. url: '/remove_config',
  21. data: data,
  22. headers:{
  23. 'Content-Type':"application/json",
  24. }
  25. })
  26. },
  27. // �����
  28. saveDeviceConfig(data){
  29. return post({
  30. url: '/save_device_config',
  31. data: data,
  32. headers:{
  33. 'Content-Type':"application/json",
  34. }
  35. })
  36. },
  37. }