app.js 423 B

123456789101112131415161718192021
  1. import request from '@/sheep/request';
  2. // TODO 非繁人:小程序直播还不支持
  3. export default {
  4. //小程序直播
  5. mplive: {
  6. getRoomList: (ids) =>
  7. request({
  8. url: 'app/mplive/getRoomList',
  9. method: 'GET',
  10. params: {
  11. ids: ids.join(','),
  12. }
  13. }),
  14. getMpLink: () =>
  15. request({
  16. url: 'app/mplive/getMpLink',
  17. method: 'GET'
  18. }),
  19. },
  20. };