|
@@ -1,17 +1,62 @@
|
|
|
// Code generated by goctl. DO NOT EDIT.
|
|
|
package types
|
|
|
|
|
|
-type Reply struct {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data interface{} `json:"data"`
|
|
|
+type AddOrUpdateReq struct {
|
|
|
+ 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"`
|
|
|
}
|
|
|
|
|
|
-type InfoReply struct {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data interface{} `json:"data"`
|
|
|
- BatchEmploy int64 `json:"batchEmploy"`
|
|
|
+type AllprojectReq struct {
|
|
|
+ EntAccountId int64 `header:"entAccountId"`
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
+ Name string `json:"name,optional"`
|
|
|
+ Type string `json:"type,optional"`
|
|
|
+ Id string `json:"id,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type AssociateReq struct {
|
|
|
+ EntAccountId int64 `header:"entAccountId"`
|
|
|
+ EntName string `header:"entName"`
|
|
|
+ Name string `json:"name"`
|
|
|
+ Type string `json:"type"`
|
|
|
+}
|
|
|
+
|
|
|
+type CanAddReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ AccountId int64 `header:"accountId,optional"`
|
|
|
+ EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
+ EmployInfoId int64 `json:"employInfoId"` //资讯收录id
|
|
|
+ EmployCustomId int64 `json:"employCustomId,optional"` //客户收录id
|
|
|
+ Key string `json:"key"` //创建线索:more_create_clue 创建机会:more_create_chance 创建客户:more_create_custom
|
|
|
+}
|
|
|
+
|
|
|
+type ChannelListReq struct {
|
|
|
+ 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"` //代理机构
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
+ Type string `json:"type,optional"`
|
|
|
}
|
|
|
|
|
|
type ClueAddReq struct {
|
|
@@ -33,81 +78,23 @@ type ClueAddReq struct {
|
|
|
Channel string `json:"channel"` //渠道来源:网页、手动创建
|
|
|
}
|
|
|
|
|
|
-type SaleChanceReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- AccountId int64 `header:"accountId,optional"`
|
|
|
- EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
- ChanceName string `json:"chanceName"` //机会名称
|
|
|
- Summary string `json:"summary"` //概要信息
|
|
|
- ChanceClassify int64 `json:"chanceClassify"` //机会分类
|
|
|
- ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
|
|
|
- ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
|
|
|
- CustomName string `json:"customName"` //客户全称
|
|
|
- BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
|
|
|
- Remarks string `json:"remarks,optional"` //备注
|
|
|
- NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
|
|
|
- Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
|
|
|
- User []int64 `json:"user,optional"` //企业用户id
|
|
|
- EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
|
|
|
- CustomId int64 `json:"customId,optional"` //客户id
|
|
|
- CreateName string `json:"createName"` //创建人
|
|
|
- ChanceSource int64 `json:"chanceSource"` //机会来源
|
|
|
- OwnerId string `json:"ownerId,optional"` //潜客收录id(人脉)
|
|
|
- BusinessId string `json:"businessId,optional"` //商机收录id(人脉)
|
|
|
-}
|
|
|
-
|
|
|
-type EmployOperateReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- IdArr string `json:"idArr"` //信息id多条信息
|
|
|
- IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
|
|
|
- EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
|
|
|
- EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
- From string `json:"from,optional"` //来源
|
|
|
-}
|
|
|
-
|
|
|
-type TransferReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EmplouIdArr []string `json:"emplouIdArr"`
|
|
|
- PositionIdArr []string `json:"positionIdArr"`
|
|
|
-}
|
|
|
-
|
|
|
-type IgnoreOperateReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- IdArr string `json:"idArr"` //id集合
|
|
|
- IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
|
|
|
- EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
|
|
|
+type CoopHistoryReq struct {
|
|
|
+ EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ DeptId string `header:"deptId,optional"` //部门id
|
|
|
+ Pid string `json:"projectId"`
|
|
|
+ ChannelType string `json:"channelType"`
|
|
|
}
|
|
|
|
|
|
-type InfoEmployinfoReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
|
|
|
- IdArr string `json:"idArr"` //id
|
|
|
- EntNicheDis int64 `header:"entNicheDis,optional"`
|
|
|
- EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
- PositionType int64 `header:"positionType,optional"` //职位类型 0个人 1企业
|
|
|
- AccountId int64 `header:"accountId,optional"` //账户id
|
|
|
- EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
- From string `json:"from,optional"` //来源
|
|
|
+type CooperateOwnerListReq struct {
|
|
|
+ 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"`
|
|
|
}
|
|
|
|
|
|
type CustomAddReq struct {
|
|
@@ -142,15 +129,10 @@ type CustomAddReq struct {
|
|
|
BusinessId string `json:"businessId,optional"` //商机收录id(人脉)
|
|
|
}
|
|
|
|
|
|
-type FileUploadReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- BusinessId int64 `form:"businessId"` //业务id
|
|
|
- Types int64 `form:"type"` //类型;1:跟进记录-线下 2:跟进记录-线上 3:跟进记录-备忘 4:销售机会-项目文档 5:客户-客户档案
|
|
|
- FileType int64 `form:"fileType"` //文件类型,产品介绍、项目方案、立项报告、报价文件、招标文件、投标文件、中标通知书、合同、发票、其他文件
|
|
|
+type DistributePerson struct {
|
|
|
+ PositionId int64 `json:"positionId"`
|
|
|
+ EntUserId int64 `json:"entUserId"`
|
|
|
+ EntDeptId int64 `json:"entDeptId"`
|
|
|
}
|
|
|
|
|
|
type EmployDistributeReq struct {
|
|
@@ -165,41 +147,100 @@ type EmployDistributeReq struct {
|
|
|
EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
}
|
|
|
|
|
|
-type DistributePerson struct {
|
|
|
- PositionId int64 `json:"positionId"`
|
|
|
- EntUserId int64 `json:"entUserId"`
|
|
|
- EntDeptId int64 `json:"entDeptId"`
|
|
|
+type EmployOperateReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ IdArr string `json:"idArr"` //信息id多条信息
|
|
|
+ IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
|
|
|
+ EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
|
|
|
+ EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
+ From string `json:"from,optional"` //来源
|
|
|
}
|
|
|
|
|
|
type EntInfoReq struct {
|
|
|
EntName string `json:"entName"`
|
|
|
}
|
|
|
|
|
|
-type PushMsgReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- Title string `json:"title"` //标题
|
|
|
- Content string `json:"content"` //内容
|
|
|
- PcHref string `json:"pcHref"` //pc跳转地址
|
|
|
- MobileHref string `json:"mobileHref"` //移动端跳转地址
|
|
|
- User []int64 `json:"user,optional"` //企业用户id
|
|
|
- MsgType string `json:"msgType"` //消息类型 1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 11-待办
|
|
|
+type FileUploadReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ BusinessId int64 `form:"businessId"` //业务id
|
|
|
+ Types int64 `form:"type"` //类型;1:跟进记录-线下 2:跟进记录-线上 3:跟进记录-备忘 4:销售机会-项目文档 5:客户-客户档案
|
|
|
+ FileType int64 `form:"fileType"` //文件类型,产品介绍、项目方案、立项报告、报价文件、招标文件、投标文件、中标通知书、合同、发票、其他文件
|
|
|
}
|
|
|
|
|
|
-type CanAddReq struct {
|
|
|
- AppId string `header:"appId,default=10000"`
|
|
|
- BaseUserId int64 `header:"newUserId"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- AccountId int64 `header:"accountId,optional"`
|
|
|
- EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
- EmployInfoId int64 `json:"employInfoId"` //资讯收录id
|
|
|
- EmployCustomId int64 `json:"employCustomId,optional"` //客户收录id
|
|
|
- Key string `json:"key"` //创建线索:more_create_clue 创建机会:more_create_chance 创建客户:more_create_custom
|
|
|
+type IgnoreOperateReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ IdArr string `json:"idArr"` //id集合
|
|
|
+ IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
|
|
|
+ EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
|
|
|
+}
|
|
|
+
|
|
|
+type IgnoreReq struct {
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
+ RelateId string `json:"relateId,optional"`
|
|
|
+ Source string `json:"source,optional"`
|
|
|
+ Action string `json:"action,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type InfoDetailReq struct {
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
+ InfoId string `json:"infoId"`
|
|
|
+}
|
|
|
+
|
|
|
+type InfoEmployinfoReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
|
|
|
+ IdArr string `json:"idArr"` //id
|
|
|
+ EntNicheDis int64 `header:"entNicheDis,optional"`
|
|
|
+ EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
+ PositionType int64 `header:"positionType,optional"` //职位类型 0个人 1企业
|
|
|
+ AccountId int64 `header:"accountId,optional"` //账户id
|
|
|
+ EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
+ From string `json:"from,optional"` //来源
|
|
|
+}
|
|
|
+
|
|
|
+type InfoReply struct {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data interface{} `json:"data"`
|
|
|
+ BatchEmploy int64 `json:"batchEmploy"`
|
|
|
+}
|
|
|
+
|
|
|
+type NetWorkListReq struct {
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ EntAccountId int64 `header:"entAccountId"`
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
+ 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"`
|
|
|
}
|
|
|
|
|
|
type OwnerListReq struct {
|
|
@@ -219,6 +260,16 @@ type OwnerListReq struct {
|
|
|
EntAccountId int64 `header:"entAccountId"`
|
|
|
}
|
|
|
|
|
|
+type PnameAssReq struct {
|
|
|
+ ProjectName string `json:"projectName"`
|
|
|
+}
|
|
|
+
|
|
|
+type PrjectHistoryReq struct {
|
|
|
+ Source string `json:"source"`
|
|
|
+ BuyerId string `json:"buyerId"`
|
|
|
+ WinnerId string `json:"winnerId"`
|
|
|
+}
|
|
|
+
|
|
|
type ProjectListReq struct {
|
|
|
UserId string `header:"userId,optional"`
|
|
|
PositionId int64 `header:"positionId,optional"`
|
|
@@ -245,102 +296,24 @@ type ProjectListReq struct {
|
|
|
Amount string `json:"amount,optional"`
|
|
|
}
|
|
|
|
|
|
-type PnameAssReq struct {
|
|
|
- ProjectName string `json:"projectName"`
|
|
|
-}
|
|
|
-
|
|
|
-type CoopHistoryReq struct {
|
|
|
- EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- DeptId string `header:"deptId,optional"` //部门id
|
|
|
- Pid string `json:"projectId"`
|
|
|
- ChannelType string `json:"channelType"`
|
|
|
-}
|
|
|
-
|
|
|
-type AddOrUpdateReq struct {
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
-type AssociateReq struct {
|
|
|
- EntAccountId int64 `header:"entAccountId"`
|
|
|
- EntName string `header:"entName"`
|
|
|
- Name string `json:"name"`
|
|
|
- Type string `json:"type"`
|
|
|
-}
|
|
|
-
|
|
|
-type AllprojectReq struct {
|
|
|
- EntAccountId int64 `header:"entAccountId"`
|
|
|
- PositionId int64 `header:"positionId"`
|
|
|
- Name string `json:"name,optional"`
|
|
|
- Type string `json:"type,optional"`
|
|
|
- Id string `json:"id,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type NetWorkListReq struct {
|
|
|
- UserId string `header:"userId"`
|
|
|
- EntAccountId int64 `header:"entAccountId"`
|
|
|
- PositionId int64 `header:"positionId"`
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
-type IgnoreReq struct {
|
|
|
- PositionId int64 `header:"positionId"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
- RelateId string `json:"relateId,optional"`
|
|
|
- Source string `json:"source,optional"`
|
|
|
- Action string `json:"action,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type InfoDetailReq struct {
|
|
|
- InfoId string `json:"infoId"`
|
|
|
-}
|
|
|
-
|
|
|
-type PrjectHistoryReq struct {
|
|
|
- Source string `json:"source"`
|
|
|
- BuyerId string `json:"buyerId"`
|
|
|
- WinnerId string `json:"winnerId"`
|
|
|
+type PushMsgReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ Title string `json:"title"` //标题
|
|
|
+ Content string `json:"content"` //内容
|
|
|
+ PcHref string `json:"pcHref"` //pc跳转地址
|
|
|
+ MobileHref string `json:"mobileHref"` //移动端跳转地址
|
|
|
+ User []int64 `json:"user,optional"` //企业用户id
|
|
|
+ MsgType string `json:"msgType"` //消息类型 1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 11-待办
|
|
|
}
|
|
|
|
|
|
-type ChannelListReq struct {
|
|
|
- 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"` //代理机构
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
|
|
|
- Type string `json:"type,optional"`
|
|
|
+type Reply struct {
|
|
|
+ Error_code int64 `json:"error_code"`
|
|
|
+ Error_msg string `json:"error_msg"`
|
|
|
+ Data interface{} `json:"data"`
|
|
|
}
|
|
|
|
|
|
type RouteOwnerListReq struct {
|
|
@@ -349,11 +322,39 @@ type RouteOwnerListReq struct {
|
|
|
PositionId int64 `header:"positionId,optional"`
|
|
|
}
|
|
|
|
|
|
-type CooperateOwnerListReq struct {
|
|
|
- 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"`
|
|
|
+type SaleChanceReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ AccountId int64 `header:"accountId,optional"`
|
|
|
+ EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
+ ChanceName string `json:"chanceName"` //机会名称
|
|
|
+ Summary string `json:"summary"` //概要信息
|
|
|
+ ChanceClassify int64 `json:"chanceClassify"` //机会分类
|
|
|
+ ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
|
|
|
+ ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
|
|
|
+ CustomName string `json:"customName"` //客户全称
|
|
|
+ BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
|
|
|
+ Remarks string `json:"remarks,optional"` //备注
|
|
|
+ NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
|
|
|
+ Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
|
|
|
+ User []int64 `json:"user,optional"` //企业用户id
|
|
|
+ EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
|
|
|
+ CustomId int64 `json:"customId,optional"` //客户id
|
|
|
+ CreateName string `json:"createName"` //创建人
|
|
|
+ ChanceSource int64 `json:"chanceSource"` //机会来源
|
|
|
+ OwnerId string `json:"ownerId,optional"` //潜客收录id(人脉)
|
|
|
+ BusinessId string `json:"businessId,optional"` //商机收录id(人脉)
|
|
|
+}
|
|
|
+
|
|
|
+type TransferReq struct {
|
|
|
+ AppId string `header:"appId,default=10000"`
|
|
|
+ BaseUserId int64 `header:"newUserId"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EmplouIdArr []string `json:"emplouIdArr"`
|
|
|
+ PositionIdArr []string `json:"positionIdArr"`
|
|
|
}
|