challenge.js 532 B

123456789101112131415161718
  1. // 抖音挑战赛
  2. export default ($axios) => {
  3. const challengeApis = {}
  4. challengeApis.fetchVideoList = (params = {}) =>
  5. $axios.get('/wx/auth/get/published/video/list', { params })
  6. challengeApis.publishVideoSave = (data = {}) =>
  7. $axios.post('/wx/auth/save/video/info', data)
  8. challengeApis.checkActivityPublish = (data = {}) =>
  9. $axios.post('/wx/auth/check/video/info', data)
  10. challengeApis.fetchActivityStatus = (params = {}) =>
  11. $axios.get('/wx/auth/get/activitty', { params })
  12. return challengeApis
  13. }