types.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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 string `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. PositionId int64 `header:"positionId,optional"`
  82. }
  83. type MyInfoReq struct {
  84. Bid string `json:"bid,optional"`
  85. Sid string `json:"sid"`
  86. }
  87. type OperateReq struct {
  88. NewId string `json:"newId"`
  89. Type int64 `json:"type"`
  90. }
  91. type Param struct {
  92. Value string `json:"value"`
  93. Type string `json:"type"`
  94. }
  95. type ResEmpowerReq struct {
  96. EntId int64 `header:"entId"`
  97. ReqType int64 `json:"reqType"`
  98. FunctionCode string `json:"functionCode"`
  99. EntUserId string `json:"entUserId"`
  100. PositionId string `json:"positionId"`
  101. }
  102. type SendMailReq struct {
  103. Title string `json:"title"`
  104. Content string `json:"content"`
  105. Mails string `json:"mails"`
  106. }
  107. type SqlManageReq struct {
  108. Id float64 `json:"id"`
  109. Params []Param `json:"params"`
  110. }
  111. type TransferClueReq struct {
  112. UserId string `header:"userId,optional"`
  113. BaseUserId int64 `header:"newUserId"`
  114. PositionId int64 `header:"positionId,optional"`
  115. EntUserId int64 `header:"entUserId,optional"`
  116. Phone string `json:"phone"`
  117. OrderNo string `json:"orderNo"`
  118. }
  119. type UpFileReq struct {
  120. AppId string `header:"appId,default=10000"`
  121. BaseUserId int64 `header:"newUserId"`
  122. PositionId int64 `header:"positionId,optional"`
  123. EntUserId int64 `header:"entUserId,optional"`
  124. EntId int64 `header:"entId,optional"`
  125. FileType string `form:"fileType"`
  126. }
  127. type AddProjectReq struct {
  128. PositionId int64 `header:"positionId,optional"`
  129. Source int64 `json:"source,optional"`
  130. InfoId string `json:"info_id,optional"`
  131. PositionType int64 `header:"positionType,optional"`
  132. AccountId int64 `header:"accountId,optional"`
  133. CompanyName string `header:"entName,optional"`
  134. UserName string `header:"userName,optional"`
  135. UserId int64 `header:"newUserId,optional"`
  136. EntId int64 `header:"entId,optional"`
  137. EntUserName string `header:"entUserName,optional"`
  138. }
  139. type BiResp struct {
  140. Error_code int64 `json:"error_code"` //响应代码
  141. Error_msg string `json:"error_msg"` //响应消息
  142. Data interface{} `json:"data"`
  143. }
  144. type CallReq struct {
  145. PositionId int64 `header:"positionId,optional"`
  146. Phone string `json:"phone"`
  147. }
  148. type DrawClueReq struct {
  149. PositionId int64 `header:"positionId,optional"`
  150. Count int64 `json:"count,optional"`
  151. }
  152. type GetCompanyTypeReq struct {
  153. CompanyName string `json:"companyName"`
  154. }
  155. type GetInfoIdReq struct {
  156. PositionId int64 `header:"positionId,optional"`
  157. }
  158. type MyDataAssetReq struct {
  159. UserId string `header:"userId,optional"`
  160. NewUserId int64 `header:"newUserId,optional"`
  161. EntUserId int64 `header:"entUserId,optional"`
  162. }