方法列表
创建文章 admin RPC createPost (CreatePostRequest) returns (CreatePostResponse)HTTP POST /PostService/createPost |
---|
输入对象:CreatePostRequest: |
输出对象:CreatePostResponse: |
修改文章 admin RPC updatePost (UpdatePostRequest) returns (RPCSuccess)HTTP POST /PostService/updatePost |
---|
输入对象:UpdatePostRequest: |
输出对象:RPCSuccess: |
删除文章 admin RPC deletePost (DeletePostRequest) returns (RPCSuccess)HTTP POST /PostService/deletePost |
---|
输入对象:DeletePostRequest: |
输出对象:RPCSuccess: |
发布文章 admin RPC publishPost (PublishPostRequest) returns (RPCSuccess)HTTP POST /PostService/publishPost |
---|
输入对象:PublishPostRequest: |
输出对象:RPCSuccess: |
计算文章数量 admin RPC countPosts (CountPostsRequest) returns (RPCCountResponse)HTTP POST /PostService/countPosts |
---|
输入对象:CountPostsRequest: |
输出对象:RPCCountResponse: |