|
@@ -1,7 +1,7 @@
|
|
|
syntax = "v1"
|
|
|
|
|
|
type (
|
|
|
- resp {
|
|
|
+ biResp {
|
|
|
Error_code int64 `json:"error_code"` //响应代码
|
|
|
Error_msg string `json:"error_msg"` //响应消息
|
|
|
Data interface{} `json:"data"`
|
|
@@ -91,32 +91,32 @@ type (
|
|
|
|
|
|
service biService-api {
|
|
|
@handler MyDataAsset
|
|
|
- post /biService/myDataAsset (myDataAssetReq) returns (resp)
|
|
|
+ post /biService/myDataAsset (myDataAssetReq) returns (biResp)
|
|
|
@handler AddProjectReq
|
|
|
- post /biService/addProject (addProjectReq) returns (resp)
|
|
|
+ post /biService/addProject (addProjectReq) returns (biResp)
|
|
|
@handler GetInfoId
|
|
|
- post /biService/getInfoId (getInfoIdReq) returns (resp)
|
|
|
+ post /biService/getInfoId (getInfoIdReq) returns (biResp)
|
|
|
@handler DrawClue
|
|
|
- post /biService/drawClue (drawClueReq) returns (resp)
|
|
|
+ post /biService/drawClue (drawClueReq) returns (biResp)
|
|
|
@handler Call
|
|
|
- post /biService/call (callReq) returns (resp) //拨打电话
|
|
|
+ post /biService/call (callReq) returns (biResp) //拨打电话
|
|
|
@handler DistributeClue
|
|
|
- post /biService/distributeClue (DistributeClueReq) returns (resp)
|
|
|
+ post /biService/distributeClue (DistributeClueReq) returns (biResp)
|
|
|
@handler ClueImport
|
|
|
- post /biService/clueImport (ClueImportReq) returns (resp)
|
|
|
+ post /biService/clueImport (ClueImportReq) returns (biResp)
|
|
|
@handler ClueAdd
|
|
|
- post /biService/ClueAdd (ClueAddReq) returns (resp)
|
|
|
+ post /biService/ClueAdd (ClueAddReq) returns (biResp)
|
|
|
@handler ClueImportTl
|
|
|
- post /biService/clueImportTt (ClueImportReq) returns (resp)
|
|
|
+ post /biService/clueImportTt (ClueImportReq) returns (biResp)
|
|
|
@handler AutoFollow
|
|
|
- post /biService/autoFollow (callReq) returns (resp)
|
|
|
+ post /biService/autoFollow (callReq) returns (biResp)
|
|
|
@doc "bi通用接口"
|
|
|
@handler sqlManage
|
|
|
- post /biService/sqlManage (SqlManageReq) returns (resp)
|
|
|
+ post /biService/sqlManage (SqlManageReq) returns (biResp)
|
|
|
@doc "用户身份"
|
|
|
@handler Myinfo
|
|
|
- post /biService/myInfo (MyInfoReq) returns (resp)
|
|
|
+ post /biService/myInfo (MyInfoReq) returns (biResp)
|
|
|
@doc "资源中台授权"
|
|
|
@handler ResEmpower
|
|
|
- post /biService/resEmpower (ResEmpowerReq) returns (resp)
|
|
|
+ post /biService/resEmpower (ResEmpowerReq) returns (biResp)
|
|
|
}
|