12345678910111213141516171819202122232425262728 |
- syntax = "v1"
- type (
- Reply {
- Error_code int64 `json:"error_code"`
- Error_msg string `json:"error_msg"`
- Data interface{} `json:"data"`
- }
- SqlManageReq {
- Id float64 `json:"id"`
- Params []Param `json:"params"`
- }
- Param {
- Value string `json:"value"`
- Type string `json:"type"`
- }
- MyInfoReq {
- Bid string `json:"bid,optional"`
- Sid string `json:"sid"`
- }
- )
- service biCenter {
- @doc "bi通用接口"
- @handler sqlManage
- post /biService/sqlManage (SqlManageReq) returns (Reply)
- @doc "用户身份"
- @handler Myinfo
- post /biService/myInfo (MyInfoReq) returns (Reply)
- }
|