subscriptionRules.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import request from "@/utils/request";
  2. export function pageQuery(param) {
  3. return request({
  4. url: '/mk/bid/subscriptionRule/pageQuery',
  5. method: 'get',
  6. params: param
  7. })
  8. }
  9. export function updateState(data) {
  10. return request({
  11. url: '/mk/bid/subscriptionRule/updateState',
  12. method: 'post',
  13. data: data
  14. })
  15. }
  16. export function updateById(data) {
  17. return request({
  18. url: '/mk/bid/subscriptionRule/updateById',
  19. method: 'post',
  20. data: data
  21. })
  22. }
  23. export function insert(data) {
  24. return request({
  25. url: '/mk/bid/subscriptionRule/insert',
  26. method: 'post',
  27. data: data
  28. })
  29. }
  30. export function queryById(url) {
  31. return request({
  32. url: `/mk/bid/subscriptionRule/queryById/${url}`,
  33. method: 'get',
  34. // params: param
  35. })
  36. }
  37. export function cityQuery() {
  38. return request({
  39. url: `/mk/bid/subscriptionRule/cityQuery`,
  40. method: 'get',
  41. })
  42. }
  43. export function provinceQuery() {
  44. return request({
  45. url: `/mk/bid/subscriptionRule/provinceQuery`,
  46. method: 'get',
  47. })
  48. }
  49. export function getUserList() {
  50. return request({
  51. url: `/system/user/list`,
  52. method: 'get',
  53. })
  54. }