syntax = "v1" type ( Reply { Error_code int64 `json:"error_code"` Error_msg string `json:"error_msg"` Data interface{} `json:"data"` } OwnerListReq { PartyA string `json:"partyA,optional"` //甲方 Supplier string `json:"supplier,optional"` //供应商 Heterotophy string `json:"heterotophy,optional"` //同甲异业 Intermediary string `json:"intermediary,optional"` //中间人 Agency string `json:"agency,optional"` //代理机构 SearchEntName string `json:"searchEntName,optional"` //搜索企业名称 SourceType string `json:"sourceType,optional"` //搜索类型 1 只看转介绍成功率高2只看已监控的 ProcessingStatus string `json:"processingStatus,optional"` //处理状态1未处理2已忽略3已建客户 Area string `json:"area,optional"` //项目地区 PositionId int64 `header:"positionId,optional"` PageSize int64 `json:"pageSize,optional"` PageIndex int64 `json:"pageIndex,optional"` ProjectType string `json:"projectType,optional"` EntAccountId int64 `header:"entAccountId"` EntId int64 `header:"entId,optional"` MgoUserId string `header:"mgoUserId,optional"` //原userId } ProjectListReq { UserId string `header:"userId,optional"` PositionId int64 `header:"positionId,optional"` EntId int64 `header:"entId,optional"` EntUserId int64 `header:"entUserId,optional"` DeptId int64 `header:"deptId,optional"` //部门id PartyA string `json:"partyA,optional"` //甲方 Supplier string `json:"supplier,optional"` //供应商 Heterotophy string `json:"heterotophy,optional"` //同甲异业 Intermediary string `json:"intermediary,optional"` //中间人 Agency string `json:"agency,optional"` //代理机构 PageNum int `json:"pageNum"` PageSize int `json:"pageSize"` BusinessType string `json:"businessType"` SaleStatus string `json:"saleStatus"` ProjectName string `json:"projectName,optional"` StartTime int64 `json:"startTime,optional"` EntTime int64 `json:"entTime,optional"` Area string `json:"area,optional"` City string `json:"city,optional"` District string `json:"district,optional"` PropertyForm string `json:"propertyForm,optional"` SubClass string `json:"subClass,optional"` Amount string `json:"amount,optional"` } PnameAssReq { ProjectName string `json:"projectName"` } CoopHistoryReq { EntAccountId int64 `header:"entAccountId,optional"` //企业账户id PositionId int64 `header:"positionId,optional"` EntId int64 `header:"entId,optional"` EntUserId string `header:"entUserId,optional"` DeptId string `header:"deptId,optional"` //部门id Pid string `json:"projectId,optional"` Bid string `json:"infoId,optional"` ChannelType string `json:"channelType"` Buyer string `json:"buyer,optional"` } AddOrUpdateReq { PositionId int64 `header:"positionId"` EntUserId int64 `header:"entUserId,optional"` EntId int64 `header:"entId,optional"` EntDeptId int64 `header:"entDeptId,optional"` Qyxy_id string `json:"qyxy_id,optional"` Company_id string `json:"company_id,optional"` Company_name string `json:"company_name,optional"` Contact_person string `json:"contact_person"` Contact_phone string `json:"contact_phone"` Introduce_owner_id string `json:"introduce_owner_id,optional"` Introduce_owner_qyxy_id string `json:"introduce_owner_qyxy_id,optional"` Introduce_owner_name string `json:"introduce_owner_name,optional"` Introduce_project_id string `json:"introduce_project_id,optional"` Introduce_project_name string `json:"introduce_project_name,optional"` Id int64 `json:"id,optional"` Type string `json:"type"` } AssociateReq { EntId int64 `header:"entId"` MgoUserId string `header:"mgoUserId"` EntAccountId int64 `header:"entAccountId"` EntName string `header:"entName"` Name string `json:"name"` Type string `json:"type"` } AllprojectReq { EntId int64 `header:"entId"` MgoUserId string `header:"mgoUserId"` EntAccountId int64 `header:"entAccountId"` PositionId int64 `header:"positionId"` Name string `json:"name,optional"` Type string `json:"type,optional"` Id string `json:"id,optional"` CheckCode string `json:"checkCode,optional"` ClickId string `json:"clickId,optional"` } NetWorkListReq { UserId string `header:"userId"` EntAccountId int64 `header:"entAccountId"` PositionId int64 `header:"positionId"` EntId int64 `header:"entId"` MgoUserId string `header:"mgoUserId"` Type string `json:"type,optional"` Name string `json:"name,optional"` Monitor int64 `json:"monitor,optional"` Starttime string `json:"starttime,optional"` Endtime string `json:"endtime,optional"` Order_amount int64 `json:"order_amount,optional"` Current_page int64 `json:"current_page,optional"` Page_size int64 `json:"page_size,optional"` Project_matchme int64 `json:"project_matchme,optional"` Buyercount_start int64 `json:"buyercount_start,optional"` Buyercount_end int64 `json:"buyercount_end,optional"` Monitorcount_start int64 `json:"monitorcount_start,optional"` Monitorcount_end int64 `json:"monitorcount_end,optional"` } InfoDetailReq { InfoId string `json:"infoId"` } PrjectHistoryReq { Source string `json:"source"` BuyerId string `json:"buyerId"` WinnerId string `json:"winnerId"` } RouteOwnerListReq { BuyerId string `json:"buyerId,optional"` BuyerName string `json:"buyerName,optional"` PositionId int64 `header:"positionId,optional"` } CooperateOwnerListReq { BuyerId string `json:"buyerId,optional"` BuyerName string `json:"buyerName,optional"` WinnerId string `json:"winnerId,optional"` WinnerName string `json:"winnerName,optional"` CooperateType string `json:"cooperateType,optional"` PositionId int64 `header:"positionId,optional"` } UpdateInitInfoReq { Business string `json:"business,optional"` Company string `json:"company,optional"` EntId int64 `header:"entId,optional"` MgoUserId string `header:"mgoUserId,optional"` //原userId NewUserId int64 `header:"newUserId"` AccountId int64 `header:"accountId,optional"` PositionId int64 `header:"positionId,optional"` PositionType int64 `header:"positionType,optional"` EntUserId int64 `header:"entUserId,optional"` EntRole int64 `header:"entRole,optional"` EntName string `header:"entName,optional"` EntDeptId int64 `header:"entDeptId,optional"` } FindInitInfoReq { EntId int64 `header:"entId,optional"` MgoUserId string `header:"mgoUserId,optional"` //原userId PositionType int64 `header:"positionType,optional"` NewUserId int64 `header:"newUserId"` AccountId int64 `header:"accountId,optional"` PositionId int64 `header:"positionId,optional"` EntUserId int64 `header:"entUserId,optional"` EntRole int64 `header:"entRole,optional"` } PrMonitorListReq { UserId string `header:"userId,optional"` PositionId int64 `header:"positionId,optional"` EntId int64 `header:"entId,optional"` PageSize int `json:"pageSize"` PageNum int `json:"pageNum"` } PrCollectListReq { UserId string `header:"userId,optional"` MgoUserId string `header:"mgoUserId,optional"` PositionId int64 `header:"positionId,optional"` EntId int64 `header:"entId,optional"` PageSize int `json:"pageSize"` PageNum int `json:"pageNum"` } DeleteCacheInfoReq { PositionId int64 `header:"positionId,optional"` } ) service networkManage { @doc "人脉可达潜客业主列表" @handler ownerList post /networkManage/owner/list (OwnerListReq) returns (Reply) @doc "人脉可达商机列表" @handler projectList post /networkManage/network/project/list (ProjectListReq) returns (Reply) @doc "项目公关渠道分析-项目名称联想" @handler PrPnameAss post /networkManage/pr/pname/ass (PnameAssReq) returns (Reply) @doc "项目公关渠道分析-与业主合作历史" @handler CoopHistoryList post /networkManage/pr/project/analyse (CoopHistoryReq) returns (Reply) @doc "人脉库-添加/修改人脉" @handler addOrUpdate post /networkManage/network/addOrUpdate (AddOrUpdateReq) returns (Reply) @doc "人脉库-业主名称联想" @handler associate post /networkManage/network/associate (AssociateReq) returns (Reply) @doc "人脉库-全部人脉项目" @handler allProject post /networkManage/network/allProject (AllprojectReq) returns (Reply) @doc "人脉库-列表" @handler networkList post /networkManage/network/networkList (NetWorkListReq) returns (Reply) @doc "情报详情" @handler infoDetail post /networkManage/infomation/detail (InfoDetailReq) returns (Reply) @doc "人脉项目分析-业主合作历史" @handler projectHistory post /networkManage/pr/project/history (PrjectHistoryReq) returns (Reply) @doc "可介绍业主路径" @handler ownerRoute post /networkManage/owner/route (RouteOwnerListReq) returns (Reply) @doc "可介绍业主合作次数" @handler ownerCooperate post /networkManage/owner/cooperate (CooperateOwnerListReq) returns (Reply) @doc "公关渠道-业主监控项目找人脉" @handler PrMonitorList post /networkManage/pr/monitor/list (PrMonitorListReq) returns (Reply) @doc "公关渠道-标讯收藏项目找人脉" @handler PrCollectList post /networkManage/pr/collect/list (PrCollectListReq) returns (Reply) @doc "初始化设置查看" @handler findInitInfo post /networkManage/init/findInitInfo (FindInitInfoReq) returns (Reply) @doc "初始化设置" @handler updateInitInfo post /networkManage/init/updateInitInfo (UpdateInitInfoReq) returns (Reply) @doc "删除缓存" @handler deleteCache post /networkManage/deleteCache (DeleteCacheInfoReq) returns (Reply) @doc "获取企业名单" @handler entNameList get /networkManage/getEntNameList returns (Reply) }