...
|
...
|
@@ -50,17 +50,15 @@ export default class ContentService { |
|
|
|
|
|
//评论(回复)接口
|
|
|
async addArticleComment(content, destId, uid, commentId, addType, columnType) {
|
|
|
|
|
|
let method = 'app.grass.addArticleComment';
|
|
|
let body = {};
|
|
|
|
|
|
addType === 0 ? body = {content, destId, addType, columnType, uid, method} : body = {content, addType, uid, commentId, method};
|
|
|
|
|
|
return await this.api.get({
|
|
|
url: '',
|
|
|
body: {
|
|
|
content,
|
|
|
destId,
|
|
|
commentId,
|
|
|
addType,
|
|
|
columnType,
|
|
|
uid,
|
|
|
method: 'app.grass.addArticleComment',
|
|
|
}
|
|
|
body: body
|
|
|
})
|
|
|
.then(json => {
|
|
|
return json
|
...
|
...
|
|