collect.js 792 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import request from "@/utils/request"
  2. export const findAppPage = (data) => {
  3. return request.get({
  4. // url: '/basic.info/grainPriceCollect/findPage',
  5. url: '/client/c/grainPriceCollect/findAppPage',
  6. data,
  7. })
  8. }
  9. /**
  10. * 获取最近的站点
  11. */
  12. export const getMonitorInfoByPoint = (data) => {
  13. return request.get({
  14. url: '/client/c/grainPriceCollect/getMonitorInfoByPoint',
  15. data,
  16. })
  17. }
  18. /**
  19. * 获取所有站点信息
  20. */
  21. export const getMonitorInfo = (data) => {
  22. return request.get({
  23. url: '/client/c/grainPriceCollect/getMonitorInfo',
  24. data,
  25. })
  26. }
  27. export const addCollect = (data) => {
  28. return request.post({
  29. url: '/client/c/grainPriceCollect/add',
  30. data,
  31. })
  32. }
  33. export const pullNotice = (data) => {
  34. return request.get({
  35. url: '/client/c/remindcycle/task',
  36. data,
  37. })
  38. }