types.go 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type Reply struct {
  4. Error_code int64 `json:"error_code"`
  5. Error_msg string `json:"error_msg"`
  6. Data interface{} `json:"data"`
  7. }
  8. type ClueAddReq struct {
  9. AppId string `header:"appId,default=10000"`
  10. BaseUserId int64 `header:"newUserId"`
  11. PositionId int64 `header:"positionId,optional"`
  12. EntUserId int64 `header:"entUserId,optional"`
  13. EntId int64 `header:"entId,optional"`
  14. AccountId int64 `header:"accountId,optional"`
  15. EntDeptId int64 `header:"entDeptId,optional"`
  16. CluesSource string `json:"cluesSource"` //线索来源
  17. ClueName string `json:"clueName"` //线索名称
  18. Summary string `json:"summary"` //概要信息
  19. FollowUpTime int64 `json:"followUpTime,optional"` //下次跟进时间(时间戳)
  20. Types int64 `json:"types"` //处理方式 1自办;2转办
  21. User []int64 `json:"user,optional"` //企业用户id
  22. EmployInfoId int64 `json:"employInfoId"` //资讯收录id
  23. CreateName string `json:"createName"` //创建人
  24. }
  25. type SaleChanceReq struct {
  26. AppId string `header:"appId,default=10000"`
  27. BaseUserId int64 `header:"newUserId"`
  28. PositionId int64 `header:"positionId,optional"`
  29. EntUserId int64 `header:"entUserId,optional"`
  30. EntId int64 `header:"entId,optional"`
  31. AccountId int64 `header:"accountId,optional"`
  32. EntDeptId int64 `header:"entDeptId,optional"`
  33. ChanceName string `json:"chanceName"` //机会名称
  34. Summary string `json:"summary"` //概要信息
  35. ChanceClassify int64 `json:"chanceClassify"` //机会分类
  36. ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
  37. ExpectedMoney int64 `json:"expectedMoney,optional"` //最初预计落单金额
  38. CustomName string `json:"customName"` //客户全称
  39. BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
  40. Remarks string `json:"remarks,optional"` //备注
  41. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  42. Types int64 `json:"types"` //处理方式 1自办;2转办
  43. User []int64 `json:"user,optional"` //企业用户id
  44. EmployInfoId int64 `json:"employInfoId"` //资讯收录id
  45. CustomId int64 `json:"customId"` //客户id
  46. CreateName string `json:"createName"` //创建人
  47. }
  48. type EmployOperateReq struct {
  49. AppId string `header:"appId,default=10000"`
  50. BaseUserId int64 `header:"newUserId"`
  51. PositionId int64 `header:"positionId,optional"`
  52. EntUserId int64 `header:"entUserId,optional"`
  53. EntId int64 `header:"entId,optional"`
  54. IdArr string `json:"idArr"` //信息id多条信息
  55. IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
  56. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  57. EntDeptId int64 `header:"entDeptId,optional"`
  58. }
  59. type TransferReq struct {
  60. AppId string `header:"appId,default=10000"`
  61. BaseUserId int64 `header:"newUserId"`
  62. PositionId int64 `header:"positionId,optional"`
  63. EntUserId int64 `header:"entUserId,optional"`
  64. EntId int64 `header:"entId,optional"`
  65. EmplouIdArr []string `json:"emplouIdArr"`
  66. PositionIdArr []string `json:"positionIdArr"`
  67. }
  68. type IgnoreOperateReq struct {
  69. AppId string `header:"appId,default=10000"`
  70. BaseUserId int64 `header:"newUserId"`
  71. PositionId int64 `header:"positionId,optional"`
  72. EntUserId int64 `header:"entUserId,optional"`
  73. EntId int64 `header:"entId,optional"`
  74. IdArr string `json:"idArr"` //id集合
  75. IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
  76. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  77. }
  78. type InfoEmployinfoReq struct {
  79. AppId string `header:"appId,default=10000"`
  80. BaseUserId int64 `header:"newUserId"`
  81. PositionId int64 `header:"positionId,optional"`
  82. EntUserId int64 `header:"entUserId,optional"`
  83. EntId int64 `header:"entId,optional"`
  84. EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
  85. IdArr string `json:"idArr"` //id
  86. EntNicheDis int64 `header:"entNicheDis,optional"`
  87. EntDeptId int64 `header:"entDeptId,optional"`
  88. }
  89. type CustomAddReq struct {
  90. AppId string `header:"appId,default=10000"`
  91. BaseUserId int64 `header:"newUserId"`
  92. PositionId int64 `header:"positionId,optional"`
  93. EntUserId int64 `header:"entUserId,optional"`
  94. EntId int64 `header:"entId,optional"`
  95. AccountId int64 `header:"accountId,optional"`
  96. EntDeptId int64 `header:"entDeptId,optional"`
  97. CustomType int64 `json:"customType"` //客户类型
  98. Summary string `json:"summary"` //概要信息
  99. CustomAllName string `json:"customAllName"` //客户全称
  100. CustomAbbreviation string `json:"customAbbreviation"` //客户简称
  101. CustomLevel int64 `json:"customLevel,optional"` //客户级别
  102. CustomIndustry int64 `json:"customIndustry"` //客户行业
  103. CustomDetailIndustry int64 `json:"customDetailIndustry"` //客户细分行业
  104. Province string `json:"province,optional"` //省份
  105. City string `json:"city,optional"` //城市
  106. District string `json:"district,optional"` //地区
  107. Address string `json:"address,optional"` //详细地址
  108. CompanyPhone string `json:"companyPhone,optional"` //公司电话
  109. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  110. Types int64 `json:"types"` //处理方式 1自办;2转办
  111. User []int64 `json:"user,optional"` //转办用户
  112. EmployCustomId int64 `json:"employCustomId,optional"` //客户收录id
  113. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  114. Remarks string `json:"remarks,optional"` //备注
  115. CreateName string `json:"createName"` //创建人
  116. }
  117. type FileUploadReq struct {
  118. AppId string `header:"appId,default=10000"`
  119. BaseUserId int64 `header:"newUserId"`
  120. PositionId int64 `header:"positionId,optional"`
  121. EntUserId int64 `header:"entUserId,optional"`
  122. EntId int64 `header:"entId,optional"`
  123. BusinessId int64 `form:"businessId"` //业务id
  124. Types int64 `form:"type"` //类型;1:跟进记录-线下 2:跟进记录-线上 3:跟进记录-备忘 4:销售机会-项目文档 5:客户-客户档案
  125. FileType int64 `form:"fileType"` //文件类型,产品介绍、项目方案、立项报告、报价文件、招标文件、投标文件、中标通知书、合同、发票、其他文件
  126. }
  127. type EmployDistributeReq struct {
  128. AppId string `header:"appId,default=10000"`
  129. BaseUserId int64 `header:"newUserId"`
  130. PositionId int64 `header:"positionId,optional"`
  131. EntUserId int64 `header:"entUserId,optional"`
  132. EntId int64 `header:"entId,optional"`
  133. EmployIdArr string `json:"employIdArr"`
  134. Person []DistributePerson `json:"person"`
  135. EntNicheDis int64 `header:"entNicheDis,optional"`
  136. EntDeptId int64 `header:"entDeptId,optional"`
  137. }
  138. type DistributePerson struct {
  139. PositionId int64 `json:"positionId"`
  140. EntUserId int64 `json:"entUserId"`
  141. EntDeptId int64 `json:"entDeptId"`
  142. }
  143. type EntInfoReq struct {
  144. EntName string `json:"entName"`
  145. }
  146. type PushMsgReq 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. Title string `json:"title"` //标题
  153. Content string `json:"content"` //内容
  154. PcHref string `json:"pcHref"` //pc跳转地址
  155. MobileHref string `json:"mobileHref"` //移动端跳转地址
  156. User []int64 `json:"user,optional"` //企业用户id
  157. }