...
|
...
|
@@ -16,10 +16,6 @@ info( |
|
|
)
|
|
|
service Core {
|
|
|
|
|
|
@doc "小程序获取回复@人可选列表"
|
|
|
@handler MiniArticleCommentAtUser
|
|
|
post /article_comment/at_user/select (MiniArticleCommentAtUserRequest) returns (MiniArticleCommentAtUserResponse)
|
|
|
|
|
|
@doc "小程序填写文章的评论"
|
|
|
@handler MiniCreateArticleComment
|
|
|
post /article_comment (MiniCreateArticleCommentRequest) returns (MiniCreateArticleCommentResponse)
|
...
|
...
|
@@ -58,17 +54,6 @@ service Core { |
|
|
post /article_comment/search/me (SystemArticleCommentSearchMeRequest) returns (SystemArticleCommentSearchMeResponse)
|
|
|
}
|
|
|
|
|
|
//
|
|
|
// 小程序获取回复@人可选列表
|
|
|
type (
|
|
|
MiniArticleCommentAtUserRequest {
|
|
|
ArtitceId int64 `json:"articleId"`
|
|
|
}
|
|
|
|
|
|
MiniArticleCommentAtUserResponse {
|
|
|
}
|
|
|
)
|
|
|
|
|
|
//评论的填写人
|
|
|
type CommentAuthor {
|
|
|
Id int64 `json:"id"` // 人员id
|
...
|
...
|
@@ -206,15 +191,15 @@ type ( |
|
|
}
|
|
|
)
|
|
|
|
|
|
type(
|
|
|
SystemArticleCommentSearchMeRequest{
|
|
|
type (
|
|
|
SystemArticleCommentSearchMeRequest {
|
|
|
Page int `json:"page"`
|
|
|
Size int `json:"size"`
|
|
|
AuthorId int64 `json:"authorId"` // 用户
|
|
|
BeginTime int64 `json:"beginTime,optional"` // 开始时间
|
|
|
EndTime int64 `json:"endTime,optional"` // 结束时间
|
|
|
}
|
|
|
SystemArticleCommentSearchMeResponse{
|
|
|
SystemArticleCommentSearchMeResponse {
|
|
|
List []ArticleCommentItem `json:"list"`
|
|
|
Total int64 `json:"total"`
|
|
|
}
|
...
|
...
|
|