-
Notifications
You must be signed in to change notification settings - Fork 0
course createComment
木杉 edited this page Sep 14, 2018
·
1 revision
POST /api/courses/:id/comment
header
{
"token": "token"
}
参数
{
"content": "content",
"to": "commentId"
}
返回
{
"code": 1,
"msg": "SUCCESS",
"data":{
...comment,
"authorUsername": "zhang",
"authorAvatar": "26da85aa613fb648521f0bf35ed31ca5"
}
}
- login
- register
- auth
- fetchOne
- fetchAll
- fetchByIds
- fetchShoppingcart
- fetchActivities
- update
- updateAvatar
- fetchAvatar
- sendEmail
- validateEmail
- watchTag
- watchArticleType
- watchUser
- delete
- search
- shoppingcart
- create
- update
- fetchOne
- fetchAll
- fetchByIds
- fetchByAuthorId
- fetchByCategory
- fetchByUpersId
- fetchByUserWatchArticleType
- fetchAuthorByCategory
- fetchCommentByIds
- delete
- up
- createComment
- deleteComment
- fetchCoverImg
- commentUp
- commentDown
- changeStatus
- fetchUpNumWeekly
- fetchUpNumMonthly
- search
- create
- update
- fetchOne
- fetchAll
- fetchByTag(intersect)
- fetchByAuthorId
- fetchByCourseId
- fetchByReplyAuthorId
- delete
- deleteReply
- deleteSubReply
- findReplyByIds
- createReply
- findSubReplyByIds
- createSubReply
- replyUp
- replyDown
- watch
- fetchReplyNumWeekly
- fetchReplyNumTotally
- fetchUserApprovedNumByTag
- changeStatus
- search