note.js 1007 B

123456789101112131415161718192021222324
  1. import request from "../utiils/request.js"
  2. //我的便签
  3. export const myNote = params => request.get('/note/my_note_list', params);
  4. //便签内容
  5. export const showNote = params => request.get('/note/show_note', params);
  6. //新建、修改便签
  7. export const addNote = params => request.post('/note/add_update_note', params);
  8. //发现列表
  9. export const findNote = params => request.get('/note/note_lists', params);
  10. //发现 点赞
  11. export const clickHeart = params => request.get('/note/click_heart', params);
  12. //发现 发表评论
  13. export const sendComment = params => request.post('/note/send_comment', params);
  14. //发现 查看评论
  15. export const lookComment = params => request.get('/note/look_comment', params);
  16. //发现 回复评论
  17. export const replyComment = params => request.post('/note/reply', params);
  18. // //获取二进制长图
  19. // export const getLongImg = params => request.get('/index', params);
  20. //上传图片
  21. // export const upLoad = params => request.get('/note/upload_img', params);