worldCup.js 997 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import ajax from "@/utils/request.js";
  2. export function getMatch(data) {
  3. return ajax({
  4. url: "race/list",
  5. method: "get",
  6. data,
  7. });
  8. }
  9. export function getChat(data) {
  10. return ajax({
  11. url: "chat/scroll",
  12. method: "get",
  13. noLoad: true,
  14. data,
  15. });
  16. }
  17. export function setChat(data) {
  18. return ajax({
  19. url: "chat/store",
  20. method: "get",
  21. data,
  22. });
  23. }
  24. export function voteList(data) {
  25. return ajax({
  26. url: "list",
  27. method: "get",
  28. data,
  29. });
  30. }
  31. export function Detail(data) {
  32. return ajax({
  33. url: "mine",
  34. method: "get",
  35. data,
  36. });
  37. }
  38. export function votpSave(data) {
  39. return ajax({
  40. url: "vote",
  41. method: "get",
  42. data,
  43. });
  44. }
  45. export function forecast(data) {
  46. return ajax({
  47. url: "race/store",
  48. method: "post",
  49. data,
  50. });
  51. }
  52. export function getBannerAndVideo(data) {
  53. return ajax({
  54. url: "https://cxzx.smcic.net/operate/worldCup.json?" + Date.now(),
  55. method: "get",
  56. urlType: "default",
  57. data,
  58. });
  59. }