12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- 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"`
- }
- drawClueReq {
- PositionId int64 `header:"positionId,optional"`
- Count int64 `json:"count,optional"`
- }
- callReq {
- PositionId int64 `header:"positionId,optional"`
- Phone string `json:"phone"`
- }
- DistributeClueReq {
- ClueCount string `json:"clueCount"`
- ClueIdList []int64 `json:"clueIdList"`
- Datas []map[string]interface{} `json:"datas"`
- PositionId int64 `header:"positionId,optional"`
- IsTask int64 `json:"isTask"`
- }
- ClueImportReq {
- PositionId int64 `header:"positionId,optional"`
- Pcbh string `json:"pcbh"`
- }
- ClueAddReq {
- Phone string `json:"phone"`
- Username string `json:"username"`
- Source string `json:"source"`
- Status999 string `json:"status999"`
- Owner string `json:"owner"`
- EmpNo string `json:"empNo"`
- Company string `json:"company"`
- IsPolicymaker string `json:"isPolicymaker"`
- BelongToIndustry string `json:"belongToIndustry"`
- Job string `json:"job"`
- CustomerNeeds string `json:"customerNeeds"`
- BelongTo string `json:"belongTo"`
- WantGoods string `json:"wantGoods"`
- CustomerBudget string `json:"customerBudget"`
- }
- )
- 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)
- @handler DrawClue
- post /biService/drawClue (drawClueReq) returns (resp)
- @handler Call
- post /biService/call (callReq) returns (resp) //拨打电话
- @handler DistributeClue
- post /biService/distributeClue (DistributeClueReq) returns (resp)
- @handler ClueImport
- post /biService/clueImport (ClueImportReq) returns (resp)
- @handler ClueAdd
- post /biService/ClueAdd (ClueAddReq) returns (resp)
- }
|