interim-pay.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import { HcApi } from "../../request/index";
  2. export default {
  3. async page(form) {
  4. return HcApi({
  5. url: "/api/blade-meter/mid/pay/item/system/page",
  6. method: "post",
  7. data: form,
  8. });
  9. },
  10. async submit(form) {
  11. return HcApi({
  12. url: "/api/blade-meter/mid/pay/item/system/submit",
  13. method: "post",
  14. data: form,
  15. });
  16. },
  17. async del(ids) {
  18. return HcApi({
  19. url: "/api/blade-meter/mid/pay/item/system/remove",
  20. method: "get",
  21. params: { id: ids },
  22. });
  23. },
  24. async getProDetail(data) {
  25. return HcApi({
  26. url: "/api/blade-meter/mid/pay/item/system/detail",
  27. method: "get",
  28. params: data,
  29. });
  30. },
  31. async getProListPage(data) {
  32. return HcApi({
  33. url: "/api/blade-meter/mid/pay/item/system/list",
  34. method: "post",
  35. params: data,
  36. });
  37. },
  38. async addCollect(data) {
  39. return HcApi({
  40. url: "/api/blade-meter/mid/pay/item/bind/submit",
  41. method: "post",
  42. params: data,
  43. });
  44. },
  45. async removeCollect(data) {
  46. return HcApi({
  47. url: "/api/blade-meter/mid/pay/item/bind/remove",
  48. method: "post",
  49. params: data,
  50. });
  51. },
  52. };