types.go 5.5 KB

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