{"size": 1064, "ext": "js", "max_stars_repo_path": "admin/src/api/modules/commentReply.js", "max_stars_repo_name": "rmq767/MyBlog", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "admin/src/api/modules/commentReply.js", "max_issues_repo_name": "rmq767/MyBlog", "max_issues_repo_issues_event_min_datetime": "2021-02-28T13:13:17.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T02:05:46.000Z", "max_forks_repo_path": "admin/src/api/modules/commentReply.js", "max_forks_repo_name": "rmq767/MyBlog", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 14, "max_forks_count": null, "avg_line_length": 21.28, "max_line_length": 69, "alphanum_fraction": 0.6381578947}
import http from "../../http";

export default {
	/**
	 * @description 获取评论回复列表
	 */
	getCommentReplyList() {
		return http.get("/commentreply");
	},
	/**
	 * @description 删除评论回复
	 */
	deleteCommentReply(id) {
		return http.delete(`/commentreply/${id}`);
	},
	/**
	 * @description 评论回复分页
	 */
	pagination(params) {
		return http.get(
			`/commentreply/get/page?pageSize=${params.pageSize}&currentPage=${
				params.currentPage
			}&i_name=${params.i_name}&r_name=${params.r_name}&i_email=${
				params.i_email
			}&r_email=${params.r_email}&c_reply=${
				params.c_reply
			}&article_id=${params.article_id || ""}&is_check=${
				params.is_check
			}&startTime=${params.startTime}&endTime=${params.endTime}`
		);
	},
	/**
	 * @description 修改评论回复
	 */
	editCommentReply(id, params) {
		return http.put(`/commentreply/${id}`, params);
	},
	/**
	 * @description 评论回复详情
	 */
	commentReplyInfo(id) {
		return http.get(`/commentreply/${id}`);
	},
	/**
	 * @description 审核状态
	 */ commentReplyStatus(params) {
		return http.put(`/commentreply/put/status`, params);
	},
};
