NotifyService.js 708 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import request from "../../common/request"
  2. export default class NotifyService {
  3. save (inputForm) {
  4. return request({
  5. url: `/notify/save`,
  6. method: 'post',
  7. data: inputForm
  8. })
  9. }
  10. delete (ids) {
  11. return request({
  12. url: '/notify/delete',
  13. method: 'delete',
  14. params: {ids: ids}
  15. })
  16. }
  17. queryById (id) {
  18. return request({
  19. url: `/notify/queryById`,
  20. method: 'get',
  21. params: {id: id}
  22. })
  23. }
  24. query (params) {
  25. return request({
  26. url: `/notify/queryById`,
  27. method: 'get',
  28. params: params
  29. })
  30. }
  31. list (params) {
  32. return request({
  33. url: '/notify/list',
  34. method: 'get',
  35. params: params
  36. })
  37. }
  38. }