Blame view

src/api/comment.js 782 Bytes
2d21111e   wangming   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  import request from '@/utils/request'
  import utils from '../utils/utils.js'
  // 回复评论信息
  export function ReturnComment(params) {
  	return request({
  		url: '/Comment/ReturnComment',
  		method: 'post',
  		data: params
  	})
  }
  
  // 评论信息
  export function AddComment(params) {
  	return request({
  		url: '/Comment/AddComment',
  		method: 'post',
  		data: params
  	})
  }
  //删除评论信息
  export function DelComment(data){
  	return request({
  		url:'/Comment/DelComment/'+data,
  		method: 'post',
  		data
  	})
  }
  //查询所有评论信息
  export function GetCommentList(data){
  	return request({
  		url:'/Comment/GetCommentList',
  		method:'post',
  		data
  	})
  }
  //审核评论数据
  export function audit(data){
  	return request({
  		url:'/Comment/audit/'+data,
  		method:'post',
  		data
  	})
  }