interactive.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import request from '@/utils/request'
  2. import qs from 'qs'
  3. export const getAccept = (params) => {
  4. return new request({
  5. url: './nationregioncomittee-service/nrc/nrcInteractiveMessages/getAcceptInfo',
  6. method: 'get',
  7. params:params
  8. });
  9. }
  10. //获取意见与建议列表值
  11. export const getidealist = (params) => {
  12. return new request({
  13. url: './nationregioncomittee-service/nrc/nrcApplys/ideaList',
  14. method: 'get',
  15. params:params
  16. });
  17. }
  18. //获取意见与建议架构值
  19. export const getOrganize = (params) => {
  20. return new request({
  21. url: './nationregioncomittee-service/nrc/nrcInteractiveMessages/getOrganize',
  22. method: 'get',
  23. params:params
  24. });
  25. }
  26. //互动留言--发送信息
  27. export const sendcontent = (params) => {
  28. return new request({
  29. url: './nationregioncomittee-service/nrc/nrcInteractiveMessages/sendMessage',
  30. method: 'post',
  31. params:params
  32. });
  33. }
  34. //互动留言--获取聊天信息
  35. export const getMessage = (params) => {
  36. return new request({
  37. url: './nationregioncomittee-service/nrc/nrcInteractiveMessages/getMessage',
  38. method: 'get',
  39. params:params
  40. });
  41. }