-
Notifications
You must be signed in to change notification settings - Fork 0
Home
木杉 edited this page Sep 23, 2018
·
25 revisions
{
"id": "id",
"username": "username",
"email": "email",
"avatar": "",
"job": "",
"city": "",
"sex": 2,
"signature": "",
"role": 0,
"watchTags": [],
"watchIssuesId": [],
"watchArticleTypes": [],
"watchUsersId": [],
"watchedUsersId": [],
"joinCourse": [],
"integral": 0,
"shoppingcart": [],
"createAt": "2018-8-19 15:35:16",
"updateAt": "2018-8-19 15:35:16"
}
{
"id": "id",
"title": "title",
"coverImg": "coverImg",
"direction": 1,
"type": [0, 1, 2],
"difficulty": 0,
"price": 10,
"sections": [{
"title": "title",
"nodes": [{
"title": "title",
"video": "videoPath"
}]
}],
"authorId": "authorId",
"commentsId": ["commentsId"],
"joinersId": ["joinersId"],
"rate": {"id_1": 2, "id_2": 3},
"rateComment": {"id_1": "comment", "id_2": "comment"},
"createAt": "2018-8-19 15:35:16",
"updateAt": "2018-8-19 15:35:16"
}
{
"id": "id",
"title": "title",
"coverImg": "coverImg",
"content": "content",
"type": [0, 1, 2],
"authorId": "authorId",
"upersId": [],
"commentsId": [],
"category": 0,
"viewnum": 0,
"status": 0,
"createAt": "2018-8-19 16:34:28",
"updateAt": "2018-8-19 16:34:28"
}
{
"id": "id",
"content": "content",
"authorId": "authorId",
"to": "commentId",
"createAt": "2018-8-19 16:41:03",
"updateAt": "2018-8-19 16:41:03"
}
{
"id": "5b77eb02aa51db0dbc855591",
"title": "title",
"content": "content",
"tags":[
"前端工具"
],
"authorId": "5b70393f943ded20c1ca2438",
"replysId":[],
"viewnum": 0,
"watchersId":[],
"status": 0,
"bindCourseId": "bindCourseId",
"updateAt": "2018-8-18 17:46:42",
"createAt": "2018-8-18 17:46:42"
}
{
"id": "id",
"content": "content",
"upersId": [], /* agree */
"downersId": [], /* disagree */
"updateAt": "2018-08-17",
"createAt": "2018-08-17",
"subReplysId": []
"authorId": "authorId"
}
{
"id": "id",
"from": "userId",
"to": "userId",
"content": "content",
"updateAt": "2018-08-17",
"createAt": "2018-08-17"
}
{
"id": "id",
"srcId": "srcId",
"msg": "msg",
"type": 0,
"reason": 0,
"reporterId": "reporterId",
"status": 0,
"updateAt": "2018-08-17",
"createAt": "2018-08-17"
}
{
"from": "from",
"msg": "msg"
}
- 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