|
@@ -1,6 +1,73 @@
|
|
|
// 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 OwnerListReq 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"` //代理机构
|
|
|
+ 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
|
|
|
+}
|
|
|
+
|
|
|
+type ProjectListReq struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+type PnameAssReq struct {
|
|
|
+ ProjectName string `json:"projectName"`
|
|
|
+}
|
|
|
+
|
|
|
+type CoopHistoryReq struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
type AddOrUpdateReq struct {
|
|
|
PositionId int64 `header:"positionId"`
|
|
|
EntUserId int64 `header:"entUserId,optional"`
|
|
@@ -20,16 +87,6 @@ type AddOrUpdateReq struct {
|
|
|
Type string `json:"type"`
|
|
|
}
|
|
|
|
|
|
-type AllprojectReq struct {
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
type AssociateReq struct {
|
|
|
EntId int64 `header:"entId"`
|
|
|
MgoUserId string `header:"mgoUserId"`
|
|
@@ -39,44 +96,14 @@ type AssociateReq struct {
|
|
|
Type string `json:"type"`
|
|
|
}
|
|
|
|
|
|
-type CoopHistoryReq struct {
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
-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 DeleteCacheInfoReq struct {
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type FindInitInfoReq struct {
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
-type InfoDetailReq struct {
|
|
|
- InfoId string `json:"infoId"`
|
|
|
+type AllprojectReq struct {
|
|
|
+ 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"`
|
|
|
}
|
|
|
|
|
|
type NetWorkListReq struct {
|
|
@@ -100,44 +127,8 @@ type NetWorkListReq struct {
|
|
|
Monitorcount_end int64 `json:"monitorcount_end,optional"`
|
|
|
}
|
|
|
|
|
|
-type OwnerListReq 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"` //代理机构
|
|
|
- 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
|
|
|
-}
|
|
|
-
|
|
|
-type PnameAssReq struct {
|
|
|
- ProjectName string `json:"projectName"`
|
|
|
-}
|
|
|
-
|
|
|
-type PrCollectListReq struct {
|
|
|
- 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"`
|
|
|
-}
|
|
|
-
|
|
|
-type PrMonitorListReq struct {
|
|
|
- UserId string `header:"userId,optional"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- PageSize int `json:"pageSize"`
|
|
|
- PageNum int `json:"pageNum"`
|
|
|
+type InfoDetailReq struct {
|
|
|
+ InfoId string `json:"infoId"`
|
|
|
}
|
|
|
|
|
|
type PrjectHistoryReq struct {
|
|
@@ -146,44 +137,21 @@ type PrjectHistoryReq struct {
|
|
|
WinnerId string `json:"winnerId"`
|
|
|
}
|
|
|
|
|
|
-type ProjectListReq struct {
|
|
|
- UserId string `header:"userId,optional"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- DeptId string `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"`
|
|
|
-}
|
|
|
-
|
|
|
-type Reply struct {
|
|
|
- Error_code int64 `json:"error_code"`
|
|
|
- Error_msg string `json:"error_msg"`
|
|
|
- Data interface{} `json:"data"`
|
|
|
-}
|
|
|
-
|
|
|
type RouteOwnerListReq struct {
|
|
|
BuyerId string `json:"buyerId,optional"`
|
|
|
BuyerName string `json:"buyerName,optional"`
|
|
|
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 UpdateInitInfoReq struct {
|
|
|
Business string `json:"business,optional"`
|
|
|
Company string `json:"company,optional"`
|
|
@@ -198,3 +166,35 @@ type UpdateInitInfoReq struct {
|
|
|
EntName string `header:"entName,optional"`
|
|
|
EntDeptId int64 `header:"entDeptId,optional"`
|
|
|
}
|
|
|
+
|
|
|
+type FindInitInfoReq struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+type PrMonitorListReq struct {
|
|
|
+ UserId string `header:"userId,optional"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ PageSize int `json:"pageSize"`
|
|
|
+ PageNum int `json:"pageNum"`
|
|
|
+}
|
|
|
+
|
|
|
+type PrCollectListReq struct {
|
|
|
+ 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"`
|
|
|
+}
|
|
|
+
|
|
|
+type DeleteCacheInfoReq struct {
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+}
|