syntax = "v1" type ( AgvRequestEntryReq { EventId string `json:"eventId"` IsLoaded string `json:"IsLoaded"` PalletId string `json:"palletid"` StationCode string `json:"stationCode"` Direction string `json:"direction"` CreatedAt string `json:"createdAt,optional"` BillNo string `json:"BillNo,optional"` } AgvRequestEntryReply { Id string `json:"id"` Code string `json:"Code"` Msg string `json:"msg"` } ) @server ( group: agv prefix: /api/v1 ) service hougai-api { @doc "MOM业务: AGV对自动线进出请求接口 (AGV => 自动线)" @handler agvRequestEntry post /agv/request-entry (AgvRequestEntryReq) returns (AgvRequestEntryReply) }