You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
411 B

syntax = "v1"
// 用户管理
import "apis/user.api"
// 公共响应
type CommonResponse {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
Success bool `json:"success"`
}
@server (
// jwt: Auth
// middleware: CheckPermission
group: health
)
service usercenter-api {
@handler UsercenterPingHandler
get /ping returns (CommonResponse)
}