123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- import request from '@/utils/request'
- // 投诉建议-新增wuYe:suggestion:add
- export function suggestionAdd(data) {
- return request({
- url: '/wuYe/suggestion',
- method: 'post',
- 'data': data
- })
- }
- // 投诉建议-修改wuYe:suggestion:edit
- export function suggestionlPut(data) {
- return request({
- url: '/wuYe/suggestion/put',
- method: 'post',
- 'data': data
- })
- }
- // 投诉建议-删除wuYe:suggestion:remove
- export function suggestionlDel(data) {
- return request({
- url: '/wuYe/suggestion/delete/'+data,
- method: 'get',
- })
- }
- // 投诉建议-列表wuYe:suggestion:list
- export function suggestionlList(data) {
- return request({
- url: '/wuYe/suggestion/list',
- method: 'get',
- 'data': data
- })
- }
- // 投诉建议-详情wuYe:suggestion:query
- export function suggestionlDet(data) {
- return request({
- url: '/wuYe/suggestion/'+data,
- method: 'get',
- })
- }
- // 评论-新增wuYe:commentIndex:add
- export function commentIndex(data) {
- return request({
- url: '/wuYe/commentIndex',
- method: 'post',
- 'data': data
- })
- }
- // 进行点赞操作
- export function giveTheThumbs(data) {
- return request({
- url: '/wuYe/commentLikes/giveTheThumbs',
- method: 'post',
- 'data': data
- })
- }
- // 进行收藏操作
- export function getStars(data) {
- return request({
- url: '/wuYe/commentStars/getStars',
- method: 'post',
- 'data': data
- })
- }
- //评论-列表父集
- //根据查询所有一级评论组带子集总数组装成前端所需要的数据结构 带分页
- export function getRootComment(data) {
- return request({
- url: '/wuYe/commentIndex/getRootComment',
- method: 'post',
- 'data': data
- })
- }
- // 列表子集
- //根据parent_id查询所有评论组装成前端所需要的子集数据结构 带分页
- export function getParentComment(data) {
- return request({
- url: '/wuYe/commentIndex/getParentComment',
- method: 'post',
- 'data': data
- })
- }
- // 审核列表wuYe:commentIndex:commentSh
- export function commentSh(data) {
- return request({
- url: '/wuYe/commentIndex/commentSh',
- method: 'get',
- 'data': data
- })
- }
- // 评论-审核wuYe:commentContent:edit
- export function commentContentPut(data) {
- return request({
- url: '/wuYe/commentContent/put',
- method: 'post',
- 'data': data
- })
- }
- // 我的评论-列表wuYe:commentIndex:list
- export function mycommentIndex(data) {
- return request({
- url: '/wuYe/commentIndex/list',
- method: 'get',
- 'data': data
- })
- }
- // 我的点赞-列表wuYe:commentLikes:list
- export function mycommentLikes(data) {
- return request({
- url: '/wuYe/commentLikes/list',
- method: 'get',
- 'data': data
- })
- }
- // 我的收藏-列表wuYe:commentStars:list
- export function mycommentStars(data) {
- return request({
- url: '/wuYe/commentStars/list',
- method: 'get',
- 'data': data
- })
- }
- // 社区资讯评论-删除wuYe:commentIndex:remove
- export function deletepl(data) {
- return request({
- url: '/wuYe/commentIndex/delete/'+data,
- method: 'get',
- })
- }
- // 获取未读互动数量wuYe:news:getCommentInteractionCount
- export function getCommentInteractionCount(data) {
- return request({
- url: '/wuYe/news/getCommentInteractionCount',
- method: 'post',
- 'data': data
- })
- }
- // 获取未读互动列表wuYe:news:getCommentInteraction
- export function getCommentInteraction(data) {
- return request({
- url: '/wuYe/news/getCommentInteraction',
- method: 'post',
- 'data': data
- })
- }
- // 进行分享操作
- export function setShare(data) {
- return request({
- url: '/wuYe/news/setShare',
- method: 'post',
- 'data': data
- })
- }
|