shipin.js 622 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import request from '../utils/request.js'
  2. export function getVideoAuth(data = {}) {
  3. return request({
  4. 'url': '/app/video/auth',
  5. headers: {
  6. isToken: true
  7. },
  8. method: 'post',
  9. data,
  10. timeout: 20000
  11. })
  12. }
  13. export function getVideoAuthYk(data = {}) {
  14. return request({
  15. 'url': '/common/video/auth',
  16. headers: {
  17. isToken: true
  18. },
  19. method: 'post',
  20. data,
  21. timeout: 20000
  22. })
  23. }
  24. export function videoWancheng(data = {}) {
  25. return request({
  26. 'url': '/app/user/wancheng',
  27. headers: {
  28. isToken: true
  29. },
  30. method: 'post',
  31. data,
  32. timeout: 20000
  33. })
  34. }