types.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. // Code generated by goctl. DO NOT EDIT.
  2. // goctl 1.7.6
  3. package types
  4. type AcceptanceReq struct {
  5. ProposeType int64 `json:"proposeType,optional"`
  6. Propose_time string `json:"proposeTime,optional"`
  7. Channel string `json:"channel,optional"`
  8. Acceptance_type int64 `json:"acceptanceType,optional"`
  9. Status int64 `json:"status,optional"`
  10. Over_time string `json:"overTime,optional"`
  11. Remark string `json:"remark,optional"`
  12. PositionId int64 `header:"positionId,optional"`
  13. DeptId string `header:"entDeptId,optional"` //部门id
  14. EntUserName string `header:"entUserName,optional"`
  15. ParamData string `json:"paramData,optional"`
  16. }
  17. type ClueAddReq struct {
  18. Phone string `json:"phone"`
  19. Username string `json:"username,optional"`
  20. Source string `json:"source"`
  21. Status999 string `json:"status999"`
  22. Owner string `json:"owner"`
  23. EmpNo string `json:"empNo"`
  24. Company string `json:"company,optional"`
  25. IsPolicymaker string `json:"isPolicymaker,optional"`
  26. BelongToIndustry string `json:"belongToIndustry,optional"`
  27. Job string `json:"job,optional"`
  28. CustomerNeeds string `json:"customerNeeds,optional"`
  29. BelongTo string `json:"belongTo,optional"`
  30. WantGoods string `json:"wantGoods,optional"`
  31. CustomerBudget string `json:"customerBudget,optional"`
  32. }
  33. type ClueImportReq struct {
  34. PositionId int64 `header:"positionId,optional"`
  35. Pcbh string `json:"pcbh"`
  36. }
  37. type ClueInfoReq struct {
  38. SearchTxt string `json:"searchTxt"`
  39. SearchType int `json:"searchType"` // 0: 线索名称,1: 联系方式,2: 联系人
  40. PageSize int64 `json:"pageSize"`
  41. PageNum int64 `json:"pageNum"`
  42. }
  43. type CreateClueReq struct {
  44. AppId string `header:"appId,default=10000"`
  45. UserId string `header:"userId,optional"`
  46. BaseUserId int64 `header:"newUserId"`
  47. PositionId int64 `header:"positionId,optional"`
  48. EntUserId int64 `header:"entUserId,optional"`
  49. Phone string `json:"phone"`
  50. }
  51. type DistributeClueReq struct {
  52. ClueCount string `json:"clueCount"`
  53. ClueIdList []int64 `json:"clueIdList"`
  54. Datas []map[string]interface{} `json:"datas"`
  55. PositionId int64 `header:"positionId,optional"`
  56. IsTask int64 `json:"isTask"`
  57. }
  58. type DistributeClueShowReq struct {
  59. ClueIdList string `json:"clueIdList"`
  60. Datas []map[string]interface{} `json:"datas"`
  61. PositionId int64 `header:"positionId,optional"`
  62. IsTask int64 `json:"isTask"`
  63. DataType int64 `json:"dataType"`
  64. UpdatePositionID int64 `json:"updatePositionID"`
  65. }
  66. type ExportByDbReq struct {
  67. Token string `json:"token"`
  68. Title string `json:"title"`
  69. Content string `json:"content"`
  70. Mails string `json:"mails"`
  71. FileName string `json:"filename"`
  72. Datas []map[string]interface{} `json:"datas"`
  73. }
  74. type ExportReq struct {
  75. Mail string `json:"mail"`
  76. Mapping []string `json:"mapping"`
  77. PositionId int64 `header:"positionId,optional"`
  78. }
  79. type FindClueInfoReq struct {
  80. UserId string `header:"userId,optional"`
  81. Phone string `header:"phone,optional"`
  82. PositionId int64 `header:"positionId,optional"`
  83. }
  84. type MyInfoReq struct {
  85. Bid string `json:"bid,optional"`
  86. Sid string `json:"sid"`
  87. }
  88. type OperateReq struct {
  89. NewId string `json:"newId"`
  90. Type int64 `json:"type"`
  91. }
  92. type Param struct {
  93. Value string `json:"value"`
  94. Type string `json:"type"`
  95. }
  96. type ResEmpowerReq struct {
  97. EntId int64 `header:"entId"`
  98. ReqType int64 `json:"reqType"`
  99. FunctionCode string `json:"functionCode"`
  100. EntUserId string `json:"entUserId"`
  101. PositionId string `json:"positionId"`
  102. }
  103. type SendMailReq struct {
  104. Title string `json:"title"`
  105. Content string `json:"content"`
  106. Mails string `json:"mails"`
  107. }
  108. type SqlManageReq struct {
  109. Id float64 `json:"id"`
  110. Params []Param `json:"params"`
  111. }
  112. type TransferClueReq struct {
  113. UserId string `header:"userId,optional"`
  114. BaseUserId int64 `header:"newUserId"`
  115. PositionId int64 `header:"positionId,optional"`
  116. EntUserId int64 `header:"entUserId,optional"`
  117. Phone string `json:"phone"`
  118. OrderNo string `json:"orderNo"`
  119. }
  120. type UpFileReq struct {
  121. AppId string `header:"appId,default=10000"`
  122. BaseUserId int64 `header:"newUserId"`
  123. PositionId int64 `header:"positionId,optional"`
  124. EntUserId int64 `header:"entUserId,optional"`
  125. EntId int64 `header:"entId,optional"`
  126. FileType string `form:"fileType"`
  127. }
  128. type AddProjectReq struct {
  129. PositionId int64 `header:"positionId,optional"`
  130. Source int64 `json:"source,optional"`
  131. InfoId string `json:"info_id,optional"`
  132. PositionType int64 `header:"positionType,optional"`
  133. AccountId int64 `header:"accountId,optional"`
  134. CompanyName string `header:"entName,optional"`
  135. UserName string `header:"userName,optional"`
  136. UserId int64 `header:"newUserId,optional"`
  137. EntId int64 `header:"entId,optional"`
  138. EntUserName string `header:"entUserName,optional"`
  139. }
  140. type BiResp struct {
  141. Error_code int64 `json:"error_code"` //响应代码
  142. Error_msg string `json:"error_msg"` //响应消息
  143. Data interface{} `json:"data"`
  144. }
  145. type CallReq struct {
  146. PositionId int64 `header:"positionId,optional"`
  147. Phone string `json:"phone"`
  148. }
  149. type DrawClueReq struct {
  150. PositionId int64 `header:"positionId,optional"`
  151. Count int64 `json:"count,optional"`
  152. }
  153. type GetCompanyTypeReq struct {
  154. CompanyName string `json:"companyName"`
  155. }
  156. type GetInfoIdReq struct {
  157. PositionId int64 `header:"positionId,optional"`
  158. }
  159. type MyDataAssetReq struct {
  160. UserId string `header:"userId,optional"`
  161. NewUserId int64 `header:"newUserId,optional"`
  162. EntUserId int64 `header:"entUserId,optional"`
  163. }