Skip to content

Commit 5baf895

Browse files
author
yesmore
committed
upd: 第三套全国中学生广播体操
1 parent 381b6ab commit 5baf895

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

core/core.api

+12
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ service core-api {
4141

4242
@handler PostsDetail
4343
post /posts/detail(PostsDetailRequest) returns (PostsDetailReply)
44+
45+
@handler GongDeUpdate
46+
post /gongde/update(GongDeUpdateRequest) returns (GongDeUpdateReply)
4447
}
4548

4649
/****************** File model ***********************/
@@ -151,6 +154,15 @@ service core-api {
151154
delete /posts/comment/delete(PostsCommentDeleteRequest) returns (PostsCommentDeleteReply)
152155
}
153156

157+
type GongDeUpdateRequest {
158+
CurrentCount int `json:"current_count"`
159+
}
160+
type GongDeUpdateReply {
161+
Count int `json:"count"`
162+
Msg string `json:"msg"`
163+
Code int `json:"code"`
164+
}
165+
154166
type PostsCreateRequest {
155167
Title string `json:"title"`
156168
Tags string `json:"tags,optional"`

core/internal/handler/routes.go

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/internal/types/types.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)