hall.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. import request from "@/utils/request.js";
  2. //查看会馆列表
  3. export function auction_gu(data) {
  4. return request({
  5. url: '/api/auction/auction_gu',
  6. method: 'get',
  7. data
  8. });
  9. }
  10. //查看场次列表
  11. export function auction_list(data) {
  12. return request({
  13. url: '/api/auction_list',
  14. method: 'get',
  15. data
  16. });
  17. }
  18. //预约场次
  19. export function subscribe(data) {
  20. return request({
  21. url: '/api/auction/subscribe',
  22. method: 'post',
  23. data
  24. });
  25. }
  26. //判断是否能进场
  27. export function advance(data) {
  28. return request({
  29. url: '/api/auction/advance',
  30. method: 'get',
  31. data
  32. });
  33. }
  34. //场次里商品列表
  35. export function auction_product(data) {
  36. return request({
  37. url: '/api/auction/auction_product',
  38. method: 'get',
  39. data
  40. });
  41. }
  42. //场次里商品详情
  43. export function details(data) {
  44. return request({
  45. url: '/api/auction/details',
  46. method: 'get',
  47. data
  48. });
  49. }
  50. //查看商品历史记录
  51. export function belong(data) {
  52. return request({
  53. url: '/api/auction/belong',
  54. method: 'get',
  55. data
  56. });
  57. }
  58. //购买商品
  59. export function purchase(data) {
  60. return request({
  61. url: '/api/auction/purchase',
  62. method: 'post',
  63. data
  64. });
  65. }
  66. //挂售详情
  67. export function gsxq(data) {
  68. return request({
  69. url: '/api/auction/gsxq',
  70. method: 'get',
  71. data
  72. });
  73. }
  74. //挂售
  75. export function hanging_sale(data) {
  76. return request({
  77. url: '/api/auction/hanging_sale',
  78. method: 'post',
  79. data
  80. });
  81. }
  82. //购买倒计时
  83. export function count_down(data) {
  84. return request({
  85. url: '/api/auction/count_down',
  86. method: 'get',
  87. data
  88. });
  89. }
  90. // 获取key
  91. export function verify_code(data) {
  92. return request({
  93. url: '/api/auction/verify_code',
  94. method: 'get',
  95. data
  96. });
  97. }
  98. // 获取图形验证码
  99. export function captcha(data) {
  100. return request({
  101. url: '/api/auction/captcha',
  102. method: 'get',
  103. data
  104. });
  105. }