123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- 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
- })
- }
|