commu.js 589 B

12345678910111213141516171819202122
  1. import request from '@/common/util/request'
  2. export function commuRecommend(data) { // 社区推荐
  3. return request.get('/article/show_list?type=0', data)
  4. }
  5. export function commuNewest(data) { // 社区最新
  6. return request.get('/article/show_list?type=1', data)
  7. }
  8. export function commuChanglai(data) { // 社区常来
  9. return request.get('/article/show_list?type=2', data)
  10. }
  11. export function commuCollect(data) { // 社区收藏
  12. return request.get('/article/mycollection', data)
  13. }
  14. export function commuLike(data) { // 社区点赞收藏
  15. return request.get('/article/like', data)
  16. }