评论服务proto仓库
micro-mall-comments服务的接口定义
接口说明
// 订单评价
rpc CommentsOrder(CommentsOrderRequest) returns (CommentsOrderResponse) {
option (google.api.http) = {
post: "/v1/comments/order"
body:"*"
};
}
// 获取店铺评论列表
rpc FindShopComments(FindShopCommentsRequest) returns (FindShopCommentsResponse) {
option (google.api.http) = {
get: "/v1/comments/list"
};
}
// 获取评论标签
rpc FindCommentsTags(FindCommentsTagRequest) returns (FindCommentsTagResponse) {
option (google.api.http) = {
get: "/v1/comments/tags/list"
};
}
// 修改评论标签
rpc ModifyCommentsTags(ModifyCommentsTagsRequest) returns (ModifyCommentsTagsResponse) {
option (google.api.http) = {
post: "/v1/comments/tags/modify"
body:"*"
};
}
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request