types.go 5.9 KB

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