game.js 363 B

12345678910111213141516171819202122
  1. import request from "@/utils/request.js";
  2. export function getGame(data){
  3. return request({
  4. url:'/api/many/list',
  5. method:'get',
  6. data
  7. })
  8. }
  9. export function getGameDetail(data,id){
  10. return request({
  11. url:'/api/many/details',
  12. method:'get',
  13. data
  14. })
  15. }
  16. export function getPurchase(data,id){
  17. return request({
  18. url:'/api/many/purchase',
  19. method:'post',
  20. data
  21. })
  22. }