|
@@ -1,92 +1,22 @@
|
|
|
// Code generated by goctl. DO NOT EDIT.
|
|
|
package types
|
|
|
|
|
|
-type SubscribeReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- UserId string `header:"userId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- DeptId string `header:"deptId,optional"` //部门id
|
|
|
- PageNum int64 `json:"pageNum,optional"`
|
|
|
- PageSize int64 `json:"pageSize,optional"`
|
|
|
- SelectTime string `json:"selectTime,optional"`
|
|
|
- Area string `json:"area,optional"`
|
|
|
- City string `json:"city,optional"`
|
|
|
- Industry string `json:"industry,optional"`
|
|
|
- BuyerClass string `json:"buyerClass,optional"`
|
|
|
- KeyWords string `json:"keyWords,optional"`
|
|
|
- Subtype string `json:"subtype,optional"`
|
|
|
- Price string `json:"price,optional"`
|
|
|
- FileExists string `json:"fileExists,optional"`
|
|
|
- Source string `json:"source,optional"` //信息来源
|
|
|
- IsRead string `json:"isRead,optional"` //是否已读
|
|
|
- Staffs string `json:"staffs,optional"` //分发的员工
|
|
|
- UserType string `path:"userType,default=fType,options=fType|vType|mType|eType"` //fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户;
|
|
|
- NewUserId int64 `header:"newUserId"`
|
|
|
- IsEnt bool `json:"isEnt,optional"`
|
|
|
- SelectIds string `json:"selectIds,optional"`
|
|
|
- SelectKeys string `json:"selectKeys,optional"`
|
|
|
- PositionType int64 `header:"positionType,optional"`
|
|
|
- NotReturnCount int64 `json:"notReturnCount,optional"`
|
|
|
- Item map[string]interface{} `json:"item,optional"`
|
|
|
- AccountId string `header:"accountId,optional"`
|
|
|
- PositionId string `header:"positionId,optional"`
|
|
|
- MgoUserId string `header:"mgoUserId,optional"` //原userId
|
|
|
- District string `json:"district,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type SomeInfoReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- UserType string `path:"userType"`
|
|
|
- UserId string `header:"userId,optional"`
|
|
|
- NewUserId string `header:"newUserId,optional"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- AccountId string `header:"accountId,optional"`
|
|
|
- PositionType string `header:"positionType,optional"`
|
|
|
- PositionId string `header:"positionId,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type CommonResp struct {
|
|
|
- Err_code int64 `json:"error_code"`
|
|
|
- Err_msg string `json:"error_msg"`
|
|
|
- Data interface{} `json:"data"`
|
|
|
- TimeData interface{} `json:"timeData"`
|
|
|
-}
|
|
|
-
|
|
|
-type SubscribeUpdateReq struct {
|
|
|
- Area map[string]interface{} `json:"area,optional"` //地区
|
|
|
- Buyerclass []string `json:"buyerclass,optional"` //采购单位类型
|
|
|
- Items []map[string]interface{} `json:"items,optional"` //关键词
|
|
|
- Infotype []string `json:"infotype,optional"` //信息类型
|
|
|
- Matchway string `json:"matchway,optional"` //匹配方式 1标题 2正文
|
|
|
- Projectmatch string `json:"projectmatch,optional"` //项目匹配 1开始 0关闭
|
|
|
- Ratemode string `json:"ratemode,optional"` // 1:实时推送,2:每天9点推送,3:每周推送,4:每月推送 5:每日推送两次
|
|
|
- Apppush string `json:"apppush,optional"` //app推送 1开启 0关闭
|
|
|
- Mailpush string `json:"mailpush,optional"` //邮箱推送 1开启 0关闭
|
|
|
- Mail string `json:"mail,optional"` //邮箱
|
|
|
- Otherbuyerclass string `json:"otherbuyerclass,optional"` //匹配未分类类型 1匹配 0不匹配
|
|
|
- AppId string `header:"appId,optional"`
|
|
|
- UserType string `path:"userType,optional"`
|
|
|
- UserId string `header:"userId,optional"`
|
|
|
- PositionType int64 `header:"positionType,optional"`
|
|
|
- NewUserId int64 `header:"newUserId,optional"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- AccountId int64 `header:"accountId,optional"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
- District map[string]interface{} `json:"district,optional"`
|
|
|
+type BidDistributor struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ Infoids []string `json:"infoids"`
|
|
|
+ Staffs string `json:"staffs"`
|
|
|
}
|
|
|
|
|
|
-type SetReadReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- UserId string `header:"userId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- DeptId string `header:"deptId,optional"` //部门id
|
|
|
- Vsid int64 `form:"vsid"`
|
|
|
- NewUserId int64 `header:"newUserId"`
|
|
|
- IsEnt bool `form:"isEnt,optional"`
|
|
|
- UserType string `path:"userType,optional"`
|
|
|
- PositionType int64 `header:"positionType,optional"`
|
|
|
+type DistributorReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ UserType string `path:"userType,optional"`
|
|
|
+ Region string `json:"region,optional"`
|
|
|
+ SelectIds string `json:"selectIds,optional"`
|
|
|
+ QueryType string `json:"queryType,optional"`
|
|
|
}
|
|
|
|
|
|
type GetKeyReq struct {
|
|
@@ -105,30 +35,22 @@ type GetKeyReq struct {
|
|
|
PositionType int64 `header:"positionType,optional"`
|
|
|
}
|
|
|
|
|
|
-type DistributorReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- UserType string `path:"userType,optional"`
|
|
|
- Region string `json:"region,optional"`
|
|
|
- SelectIds string `json:"selectIds,optional"`
|
|
|
- QueryType string `json:"queryType,optional"`
|
|
|
-}
|
|
|
-
|
|
|
-type ViewStatusReq struct {
|
|
|
+type GetStaffSubscribeDetailReq struct {
|
|
|
AppId string `header:"appId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- UserType string `path:"userType,optional"`
|
|
|
- InfoId string `json:"infoId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ Token string `json:"token,optional"`
|
|
|
}
|
|
|
|
|
|
-type MsgDistributor struct {
|
|
|
+type GetStaffSubscribeListReq struct {
|
|
|
AppId string `header:"appId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- MessageId string `json:"messageId"`
|
|
|
- Staffs string `json:"staffs"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ EStatus int64 `json:"e_status,optional"`
|
|
|
+ PStatus int64 `json:"p_status,optional"`
|
|
|
+ Search string `json:"search,optional"`
|
|
|
+ PageNum int64 `json:"pageNum,optional"`
|
|
|
+ PageSize int64 `json:"pageSize,optional"`
|
|
|
}
|
|
|
|
|
|
type GetUserReq struct {
|
|
@@ -144,15 +66,6 @@ type GetUserReq struct {
|
|
|
MgoUserId string `header:"mgoUserId,optional"` //原userId
|
|
|
}
|
|
|
|
|
|
-type SetUserReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- PositionType int64 `header:"positionType,optional"`
|
|
|
- UserId string `header:"userId,optional"`
|
|
|
- Mail string `json:"mail,optional"`
|
|
|
-}
|
|
|
-
|
|
|
type SetPushSetReq struct {
|
|
|
AppId string `header:"appId"`
|
|
|
EntId int64 `header:"entId,optional"`
|
|
@@ -168,22 +81,26 @@ type SetPushSetReq struct {
|
|
|
Interested int64 `json:"interested,optional"`
|
|
|
}
|
|
|
|
|
|
-type GetStaffSubscribeListReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- EStatus int64 `json:"e_status,optional"`
|
|
|
- PStatus int64 `json:"p_status,optional"`
|
|
|
- Search string `json:"search,optional"`
|
|
|
- PageNum int64 `json:"pageNum,optional"`
|
|
|
- PageSize int64 `json:"pageSize,optional"`
|
|
|
+type SetReadReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ DeptId string `header:"deptId,optional"` //部门id
|
|
|
+ Vsid int64 `form:"vsid"`
|
|
|
+ NewUserId int64 `header:"newUserId"`
|
|
|
+ IsEnt bool `form:"isEnt,optional"`
|
|
|
+ UserType string `path:"userType,optional"`
|
|
|
+ PositionType int64 `header:"positionType,optional"`
|
|
|
}
|
|
|
|
|
|
-type GetStaffSubscribeDetailReq struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- EntId int64 `header:"entId,optional"`
|
|
|
- EntUserId int64 `header:"entUserId,optional"`
|
|
|
- Token string `json:"token,optional"`
|
|
|
+type SetUserReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
|
+ PositionType int64 `header:"positionType,optional"`
|
|
|
+ UserId string `header:"userId,optional"`
|
|
|
+ Mail string `json:"mail,optional"`
|
|
|
}
|
|
|
|
|
|
type StaffSubscribeCommonResp struct {
|
|
@@ -192,10 +109,93 @@ type StaffSubscribeCommonResp struct {
|
|
|
Data interface{} `json:"data"`
|
|
|
}
|
|
|
|
|
|
-type BidDistributor struct {
|
|
|
- AppId string `header:"appId"`
|
|
|
- EntId string `header:"entId,optional"`
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
- Infoids []string `json:"infoids"`
|
|
|
- Staffs string `json:"staffs"`
|
|
|
+type CommonResp struct {
|
|
|
+ Err_code int64 `json:"error_code"`
|
|
|
+ Err_msg string `json:"error_msg"`
|
|
|
+ Data interface{} `json:"data"`
|
|
|
+ TimeData interface{} `json:"timeData"`
|
|
|
+}
|
|
|
+
|
|
|
+type MsgDistributor struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ MessageId string `json:"messageId"`
|
|
|
+ Staffs string `json:"staffs"`
|
|
|
+}
|
|
|
+
|
|
|
+type SomeInfoReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ UserType string `path:"userType"`
|
|
|
+ UserId string `header:"userId,optional"`
|
|
|
+ NewUserId string `header:"newUserId,optional"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ AccountId string `header:"accountId,optional"`
|
|
|
+ PositionType string `header:"positionType,optional"`
|
|
|
+ PositionId string `header:"positionId,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type SubscribeReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ UserId string `header:"userId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ DeptId string `header:"deptId,optional"` //部门id
|
|
|
+ PageNum int64 `json:"pageNum,optional"`
|
|
|
+ PageSize int64 `json:"pageSize,optional"`
|
|
|
+ SelectTime string `json:"selectTime,optional"`
|
|
|
+ Area string `json:"area,optional"`
|
|
|
+ City string `json:"city,optional"`
|
|
|
+ Industry string `json:"industry,optional"`
|
|
|
+ BuyerClass string `json:"buyerClass,optional"`
|
|
|
+ KeyWords string `json:"keyWords,optional"`
|
|
|
+ Subtype string `json:"subtype,optional"`
|
|
|
+ Price string `json:"price,optional"`
|
|
|
+ FileExists string `json:"fileExists,optional"`
|
|
|
+ Source string `json:"source,optional"` //信息来源
|
|
|
+ IsRead string `json:"isRead,optional"` //是否已读
|
|
|
+ Staffs string `json:"staffs,optional"` //分发的员工
|
|
|
+ UserType string `path:"userType,default=fType,options=fType|vType|mType|eType"` //fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户;
|
|
|
+ NewUserId int64 `header:"newUserId"`
|
|
|
+ IsEnt bool `json:"isEnt,optional"`
|
|
|
+ SelectIds string `json:"selectIds,optional"`
|
|
|
+ SelectKeys string `json:"selectKeys,optional"`
|
|
|
+ PositionType int64 `header:"positionType,optional"`
|
|
|
+ NotReturnCount int64 `json:"notReturnCount,optional"`
|
|
|
+ Item map[string]interface{} `json:"item,optional"`
|
|
|
+ AccountId string `header:"accountId,optional"`
|
|
|
+ PositionId string `header:"positionId,optional"`
|
|
|
+ MgoUserId string `header:"mgoUserId,optional"` //原userId
|
|
|
+ District string `json:"district,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type SubscribeUpdateReq struct {
|
|
|
+ Area map[string]interface{} `json:"area,optional"` //地区
|
|
|
+ Buyerclass []string `json:"buyerclass,optional"` //采购单位类型
|
|
|
+ Items []map[string]interface{} `json:"items,optional"` //关键词
|
|
|
+ Infotype []string `json:"infotype,optional"` //信息类型
|
|
|
+ Matchway string `json:"matchway,optional"` //匹配方式 1标题 2正文
|
|
|
+ Projectmatch string `json:"projectmatch,optional"` //项目匹配 1开始 0关闭
|
|
|
+ Ratemode string `json:"ratemode,optional"` // 1:实时推送,2:每天9点推送,3:每周推送,4:每月推送 5:每日推送两次
|
|
|
+ Apppush string `json:"apppush,optional"` //app推送 1开启 0关闭
|
|
|
+ Mailpush string `json:"mailpush,optional"` //邮箱推送 1开启 0关闭
|
|
|
+ Mail string `json:"mail,optional"` //邮箱
|
|
|
+ Otherbuyerclass string `json:"otherbuyerclass,optional"` //匹配未分类类型 1匹配 0不匹配
|
|
|
+ AppId string `header:"appId,optional"`
|
|
|
+ UserType string `path:"userType,optional"`
|
|
|
+ UserId string `header:"userId,optional"`
|
|
|
+ PositionType int64 `header:"positionType,optional"`
|
|
|
+ NewUserId int64 `header:"newUserId,optional"`
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
+ AccountId int64 `header:"accountId,optional"`
|
|
|
+ PositionId int64 `header:"positionId,optional"`
|
|
|
+ District map[string]interface{} `json:"district,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type ViewStatusReq struct {
|
|
|
+ AppId string `header:"appId"`
|
|
|
+ EntId string `header:"entId,optional"`
|
|
|
+ EntUserId string `header:"entUserId,optional"`
|
|
|
+ UserType string `path:"userType,optional"`
|
|
|
+ InfoId string `json:"infoId,optional"`
|
|
|
}
|