forked from TALL/check-work
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
689 B
19 lines
689 B
/*
|
|
* Copyright (c) 2019.
|
|
* author: wally
|
|
* email: 18603454788@163.com
|
|
*/
|
|
import axios from 'axios';
|
|
let { proxyUrl, msgUrl } = require('@/config/setting');
|
|
|
|
const greenvalley = `${proxyUrl}/greenvalley`;
|
|
const comment = `${greenvalley}/comment`; // 交流社区
|
|
|
|
// 发帖
|
|
export const addComment = params => axios.post(`${comment}/addComment`, params);
|
|
// 发帖查询
|
|
export const selComment = params => axios.post(`${comment}/selComment`, params);
|
|
// 跟帖发表(评论发表)
|
|
export const insComment = params => axios.post(`${comment}/insComment`, params);
|
|
// 跟帖查询(评论查询)
|
|
export const selCommunity = params => axios.post(`${comment}/selCommunity`, params);
|
|
|