comment.js 682 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from 'UTIL/request'
  2. /**
  3. * 查询评论
  4. * @param params
  5. */
  6. export function QueryCommentList(params) {
  7. return request({
  8. url: 'workTaskComment/queryCommentList',
  9. method: 'POST',
  10. data: params,
  11. header: {
  12. 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
  13. }
  14. })
  15. }
  16. /**
  17. * 添加评论
  18. * @param params
  19. */
  20. export function SetComment(params) {
  21. return request({
  22. url: 'workTaskComment/setComment',
  23. method: 'POST',
  24. data: params
  25. })
  26. }
  27. /**
  28. * 删除评论
  29. * @param params
  30. */
  31. export function DeleteComment(params) {
  32. return request({
  33. url: 'workTaskComment/deleteComment',
  34. method: 'POST',
  35. data: params
  36. })
  37. }