1234567891011121314151617181920212223242526272829303132333435363738394041 |
- syntax = "v1"
- type (
- resp {
- Error_code int64 `json:"error_code"` //响应代码
- Error_msg string `json:"error_msg"` //响应消息
- Data interface{} `json:"data"`
- }
- myDataAssetReq {
- UserId string `header:"userId,optional"`
- NewUserId int64 `header:"newUserId,optional"`
- EntUserId int64 `header:"entUserId,optional"`
- }
- addProjectReq {
- PositionId int64 `header:"positionId,optional"`
- Source int64 `json:"source,optional"`
- InfoId string `json:"info_id,optional"`
- PositionType int64 `header:"positionType,optional"`
- AccountId int64 `header:"accountId,optional"`
- CompanyName string `header:"entName,optional"`
- UserName string `header:"userName,optional"`
- UserId int64 `header:"newUserId,optional"`
- EntId int64 `header:"entId,optional"`
- EntUserName string `header:"entUserName,optional"`
- }
- getInfoIdReq {
- PositionId int64 `header:"positionId,optional"`
- }
- )
- service biService-api {
- @handler MyDataAsset
- post /biService/myDataAsset (myDataAssetReq) returns (resp)
- @handler AddProjectReq
- post /biService/addProject (addProjectReq) returns (resp)
- @handler GetInfoId
- post /biService/getInfoId (getInfoIdReq) returns (resp)
- }
|