types.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type CanAddReq struct {
  4. AppId string `header:"appId,default=10000"`
  5. BaseUserId int64 `header:"newUserId"`
  6. PositionId int64 `header:"positionId,optional"`
  7. EntUserId int64 `header:"entUserId,optional"`
  8. EntId int64 `header:"entId,optional"`
  9. AccountId int64 `header:"accountId,optional"`
  10. EntDeptId int64 `header:"entDeptId,optional"`
  11. EmployInfoId int64 `json:"employInfoId"` //资讯收录id
  12. EmployCustomId int64 `json:"employCustomId,optional"` //客户收录id
  13. Key string `json:"key"` //创建线索:more_create_clue 创建机会:more_create_chance 创建客户:more_create_custom
  14. }
  15. type InfoReply struct {
  16. Error_code int64 `json:"error_code"`
  17. Error_msg string `json:"error_msg"`
  18. Data interface{} `json:"data"`
  19. BatchEmploy int64 `json:"batchEmploy"`
  20. }
  21. type ClueAddReq struct {
  22. AppId string `header:"appId,default=10000"`
  23. BaseUserId int64 `header:"newUserId"`
  24. PositionId int64 `header:"positionId,optional"`
  25. EntUserId int64 `header:"entUserId,optional"`
  26. EntId int64 `header:"entId,optional"`
  27. AccountId int64 `header:"accountId,optional"`
  28. EntDeptId int64 `header:"entDeptId,optional"`
  29. CluesSource string `json:"cluesSource"` //线索来源
  30. ClueName string `json:"clueName"` //线索名称
  31. Summary string `json:"summary"` //概要信息
  32. FollowUpTime int64 `json:"followUpTime,optional"` //下次跟进时间(时间戳)
  33. Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
  34. User []int64 `json:"user,optional"` //企业用户id
  35. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  36. CreateName string `json:"createName"` //创建人
  37. <<<<<<< HEAD
  38. Channel string `json:"channel"` //渠道来源:网页、手动创建
  39. =======
  40. }
  41. type SaleChanceReq struct {
  42. AppId string `header:"appId,default=10000"`
  43. BaseUserId int64 `header:"newUserId"`
  44. PositionId int64 `header:"positionId,optional"`
  45. EntUserId int64 `header:"entUserId,optional"`
  46. EntId int64 `header:"entId,optional"`
  47. AccountId int64 `header:"accountId,optional"`
  48. EntDeptId int64 `header:"entDeptId,optional"`
  49. ChanceName string `json:"chanceName"` //机会名称
  50. Summary string `json:"summary"` //概要信息
  51. ChanceClassify int64 `json:"chanceClassify"` //机会分类
  52. ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
  53. ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
  54. CustomName string `json:"customName"` //客户全称
  55. BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
  56. Remarks string `json:"remarks,optional"` //备注
  57. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  58. Types int64 `json:"types"` //处理方式 1自办;2转办
  59. User []int64 `json:"user,optional"` //企业用户id
  60. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  61. CustomId int64 `json:"customId,optional"` //客户id
  62. CreateName string `json:"createName"` //创建人
  63. ChanceSource int64 `json:"chanceSource"` //机会来源
  64. }
  65. type EmployOperateReq struct {
  66. AppId string `header:"appId,default=10000"`
  67. BaseUserId int64 `header:"newUserId"`
  68. PositionId int64 `header:"positionId,optional"`
  69. EntUserId int64 `header:"entUserId,optional"`
  70. EntId int64 `header:"entId,optional"`
  71. IdArr string `json:"idArr"` //信息id多条信息
  72. IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
  73. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  74. EntDeptId int64 `header:"entDeptId,optional"`
  75. From string `json:"from,optional"` //来源
  76. }
  77. type TransferReq struct {
  78. AppId string `header:"appId,default=10000"`
  79. BaseUserId int64 `header:"newUserId"`
  80. PositionId int64 `header:"positionId,optional"`
  81. EntUserId int64 `header:"entUserId,optional"`
  82. EntId int64 `header:"entId,optional"`
  83. EmplouIdArr []string `json:"emplouIdArr"`
  84. PositionIdArr []string `json:"positionIdArr"`
  85. }
  86. type IgnoreOperateReq struct {
  87. AppId string `header:"appId,default=10000"`
  88. BaseUserId int64 `header:"newUserId"`
  89. PositionId int64 `header:"positionId,optional"`
  90. EntUserId int64 `header:"entUserId,optional"`
  91. EntId int64 `header:"entId,optional"`
  92. IdArr string `json:"idArr"` //id集合
  93. IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
  94. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  95. }
  96. type InfoEmployinfoReq struct {
  97. AppId string `header:"appId,default=10000"`
  98. BaseUserId int64 `header:"newUserId"`
  99. PositionId int64 `header:"positionId,optional"`
  100. EntUserId int64 `header:"entUserId,optional"`
  101. EntId int64 `header:"entId,optional"`
  102. EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
  103. IdArr string `json:"idArr"` //id
  104. EntNicheDis int64 `header:"entNicheDis,optional"`
  105. EntDeptId int64 `header:"entDeptId,optional"`
  106. PositionType int64 `header:"positionType,optional"` //职位类型 0个人 1企业
  107. AccountId int64 `header:"accountId,optional"` //账户id
  108. EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
  109. From string `json:"from,optional"` //来源
  110. >>>>>>> master
  111. }
  112. type CustomAddReq struct {
  113. AppId string `header:"appId,default=10000"`
  114. BaseUserId int64 `header:"newUserId"`
  115. PositionId int64 `header:"positionId,optional"`
  116. EntUserId int64 `header:"entUserId,optional"`
  117. EntId int64 `header:"entId,optional"`
  118. AccountId int64 `header:"accountId,optional"`
  119. EntDeptId int64 `header:"entDeptId,optional"`
  120. CustomType int64 `json:"customType"` //客户类型
  121. Summary string `json:"summary"` //概要信息
  122. CustomAllName string `json:"customAllName"` //客户全称
  123. CustomAbbreviation string `json:"customAbbreviation"` //客户简称
  124. CustomLevel int64 `json:"customLevel,optional"` //客户级别
  125. CustomIndustry int64 `json:"customIndustry"` //客户行业
  126. CustomDetailIndustry int64 `json:"customDetailIndustry"` //客户细分行业
  127. Province string `json:"province,optional"` //省份
  128. City string `json:"city,optional"` //城市
  129. District string `json:"district,optional"` //地区
  130. Address string `json:"address,optional"` //详细地址
  131. CompanyPhone string `json:"companyPhone,optional"` //公司电话
  132. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  133. Types int64 `json:"types"` //处理方式 1自办;2转办
  134. User []int64 `json:"user,optional"` //转办用户
  135. EmployCustomId int64 `json:"employCustomId,optional,optional"` //客户收录id
  136. EmployInfoId int64 `json:"employInfoId,optional,optional"` //资讯收录id
  137. Remarks string `json:"remarks,optional"` //备注
  138. CreateName string `json:"createName"` //创建人
  139. Source string `json:"source"` //来源
  140. }
  141. type DistributePerson struct {
  142. PositionId int64 `json:"positionId"`
  143. EntUserId int64 `json:"entUserId"`
  144. EntDeptId int64 `json:"entDeptId"`
  145. }
  146. type EmployDistributeReq struct {
  147. AppId string `header:"appId,default=10000"`
  148. BaseUserId int64 `header:"newUserId"`
  149. PositionId int64 `header:"positionId,optional"`
  150. EntUserId int64 `header:"entUserId,optional"`
  151. EntId int64 `header:"entId,optional"`
  152. EmployIdArr string `json:"employIdArr"`
  153. Person []DistributePerson `json:"person"`
  154. EntNicheDis int64 `header:"entNicheDis,optional"`
  155. EntDeptId int64 `header:"entDeptId,optional"`
  156. }
  157. type EmployOperateReq struct {
  158. AppId string `header:"appId,default=10000"`
  159. BaseUserId int64 `header:"newUserId"`
  160. PositionId int64 `header:"positionId,optional"`
  161. EntUserId int64 `header:"entUserId,optional"`
  162. EntId int64 `header:"entId,optional"`
  163. IdArr string `json:"idArr"` //信息id多条信息
  164. IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
  165. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  166. EntDeptId int64 `header:"entDeptId,optional"`
  167. }
  168. type EntInfoReq struct {
  169. EntName string `json:"entName"`
  170. }
  171. type FileUploadReq struct {
  172. AppId string `header:"appId,default=10000"`
  173. BaseUserId int64 `header:"newUserId"`
  174. PositionId int64 `header:"positionId,optional"`
  175. EntUserId int64 `header:"entUserId,optional"`
  176. EntId int64 `header:"entId,optional"`
  177. BusinessId int64 `form:"businessId"` //业务id
  178. Types int64 `form:"type"` //类型;1:跟进记录-线下 2:跟进记录-线上 3:跟进记录-备忘 4:销售机会-项目文档 5:客户-客户档案
  179. FileType int64 `form:"fileType"` //文件类型,产品介绍、项目方案、立项报告、报价文件、招标文件、投标文件、中标通知书、合同、发票、其他文件
  180. }
  181. type IgnoreOperateReq struct {
  182. AppId string `header:"appId,default=10000"`
  183. BaseUserId int64 `header:"newUserId"`
  184. PositionId int64 `header:"positionId,optional"`
  185. EntUserId int64 `header:"entUserId,optional"`
  186. EntId int64 `header:"entId,optional"`
  187. IdArr string `json:"idArr"` //id集合
  188. IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
  189. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  190. }
  191. type InfoEmployinfoReq struct {
  192. AppId string `header:"appId,default=10000"`
  193. BaseUserId int64 `header:"newUserId"`
  194. PositionId int64 `header:"positionId,optional"`
  195. EntUserId int64 `header:"entUserId,optional"`
  196. EntId int64 `header:"entId,optional"`
  197. EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
  198. IdArr string `json:"idArr"` //id
  199. EntNicheDis int64 `header:"entNicheDis,optional"`
  200. EntDeptId int64 `header:"entDeptId,optional"`
  201. }
  202. type PushMsgReq struct {
  203. AppId string `header:"appId,default=10000"`
  204. BaseUserId int64 `header:"newUserId"`
  205. PositionId int64 `header:"positionId,optional"`
  206. EntUserId int64 `header:"entUserId,optional"`
  207. EntId int64 `header:"entId,optional"`
  208. Title string `json:"title"` //标题
  209. Content string `json:"content"` //内容
  210. PcHref string `json:"pcHref"` //pc跳转地址
  211. MobileHref string `json:"mobileHref"` //移动端跳转地址
  212. User []int64 `json:"user,optional"` //企业用户id
  213. MsgType string `json:"msgType"` //消息类型 1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 11-待办
  214. }
  215. type Reply struct {
  216. Error_code int64 `json:"error_code"`
  217. Error_msg string `json:"error_msg"`
  218. Data interface{} `json:"data"`
  219. }
  220. type SaleChanceReq struct {
  221. AppId string `header:"appId,default=10000"`
  222. BaseUserId int64 `header:"newUserId"`
  223. PositionId int64 `header:"positionId,optional"`
  224. EntUserId int64 `header:"entUserId,optional"`
  225. EntId int64 `header:"entId,optional"`
  226. AccountId int64 `header:"accountId,optional"`
  227. EntDeptId int64 `header:"entDeptId,optional"`
  228. ChanceName string `json:"chanceName"` //机会名称
  229. Summary string `json:"summary"` //概要信息
  230. ChanceClassify int64 `json:"chanceClassify"` //机会分类
  231. ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
  232. ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
  233. CustomName string `json:"customName"` //客户全称
  234. BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
  235. Remarks string `json:"remarks,optional"` //备注
  236. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  237. Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
  238. User []int64 `json:"user,optional"` //企业用户id
  239. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  240. CustomId int64 `json:"customId,optional"` //客户id
  241. CreateName string `json:"createName"` //创建人
  242. ChanceSource int64 `json:"chanceSource"` //机会来源
  243. }
  244. type TransferReq struct {
  245. AppId string `header:"appId,default=10000"`
  246. BaseUserId int64 `header:"newUserId"`
  247. PositionId int64 `header:"positionId,optional"`
  248. EntUserId int64 `header:"entUserId,optional"`
  249. EntId int64 `header:"entId,optional"`
  250. EmplouIdArr []string `json:"emplouIdArr"`
  251. PositionIdArr []string `json:"positionIdArr"`
  252. }