chat.js 1.2 KB

123456789101112131415161718192021222324
  1. import request from '@/common/util/request'
  2. export const audioList = data => request.get('/wetalk/article/list', data) // 获取音频列表
  3. export const audioDetail = data => request.get('/wetalk/article/detail', data) // 获取音频详情
  4. export const audioLike = data => request.post('/wetalk/article/like', data) // 点赞
  5. export const audioShare = data => request.post('/wetalk/article/share', data) // 分享
  6. export const audioPlay = data => request.post('/wetalk/article/read', data) // 浏览
  7. export const addComment = data => request.post('/wetalk/article/addComment', data) // 评论
  8. export const getAllWetalkComment = data => request.get('/wetalk/article/getAllWetalkComment', data) // 获取评论列表
  9. export const getArticleLike = data => request.get('/wetalk/article/getArticleLike', data) // 获取所有喜欢的列表
  10. export const getSignPackage = data => request.get('/store/get_sign_package', data) //使用微信的jsdk分享功能
  11. export const getWetalkData = data => request.get('/wetalk/article/getWetalkData', data) // 获取总数据
  12. export const getDataInfo = data => request.get('/wetalk/article/getDataInfo', data) // 获取首页总播放数据