123456789101112131415161718192021222324252627282930313233343536 |
- syntax = "v1"
- info(
- title: "api前端服务"
- desc: "api前端服务 "
- author: "#Suyghur"
- version: "v1"
- )
- type PlayerAuthReq {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_id"`
- }
- type CsAuthReq {
- CsId string `json:"cs_id"`
- }
- type AuthResp {
- Code int64 `json:"code"`
- Msg string `json:"msg"`
- Data interface{} `json:"data"`
- }
- @server(
- prefix: api/v1
- )
- service Authbff {
- @doc "玩家认证"
- @handler playerAuth
- post /player/auth (PlayerAuthReq) returns (AuthResp)
-
- @doc "客服认证"
- @handler csAuth
- post /cs/auth (CsAuthReq) returns (AuthResp)
- }
|