app.js 480 B

1234567891011121314151617181920212223242526
  1. import request from '@/sheep/request';
  2. export default {
  3. // 自定义页面
  4. page: (id) =>
  5. request({
  6. url: 'page/' + id,
  7. method: 'GET',
  8. }),
  9. //小程序直播
  10. mplive: {
  11. getRoomList: (ids) =>
  12. request({
  13. url: 'app/mplive/getRoomList',
  14. method: 'GET',
  15. params: {
  16. ids: ids.join(','),
  17. }
  18. }),
  19. getMpLink: () =>
  20. request({
  21. url: 'app/mplive/getMpLink',
  22. method: 'GET'
  23. }),
  24. },
  25. };