types.go 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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 DistributeClueReq struct {
  24. ClueCount string `json:"clueCount"`
  25. ClueIdList []int64 `json:"clueIdList"`
  26. Datas []map[string]interface{} `json:"datas"`
  27. PositionId int64 `header:"positionId,optional"`
  28. IsTask int64 `json:"isTask"`
  29. }
  30. type DistributeClueShowReq struct {
  31. ClueIdList string `json:"clueIdList"`
  32. Datas []map[string]interface{} `json:"datas"`
  33. PositionId int64 `header:"positionId,optional"`
  34. IsTask int64 `json:"isTask"`
  35. DataType int64 `json:"dataType"`
  36. UpdatePositionID int64 `json:"updatePositionID"`
  37. }
  38. type ExportByDbReq struct {
  39. Token string `json:"token"`
  40. Title string `json:"title"`
  41. Content string `json:"content"`
  42. Mails string `json:"mails"`
  43. FileName string `json:"filename"`
  44. Datas []map[string]interface{} `json:"datas"`
  45. }
  46. type ExportReq struct {
  47. Mail string `json:"mail"`
  48. Mapping []string `json:"mapping"`
  49. PositionId int64 `header:"positionId,optional"`
  50. }
  51. type MyInfoReq struct {
  52. Bid string `json:"bid,optional"`
  53. Sid string `json:"sid"`
  54. }
  55. type OperateReq struct {
  56. NewId string `json:"newId"`
  57. Type int64 `json:"type"`
  58. }
  59. type Param struct {
  60. Value string `json:"value"`
  61. Type string `json:"type"`
  62. }
  63. type ResEmpowerReq struct {
  64. EntId int64 `header:"entId"`
  65. ReqType int64 `json:"reqType"`
  66. FunctionCode string `json:"functionCode"`
  67. EntUserId string `json:"entUserId"`
  68. PositionId string `json:"positionId"`
  69. }
  70. type SendMailReq struct {
  71. Title string `json:"title"`
  72. Content string `json:"content"`
  73. Mails string `json:"mails"`
  74. }
  75. type SqlManageReq struct {
  76. Id float64 `json:"id"`
  77. Params []Param `json:"params"`
  78. }
  79. type UpFileReq struct {
  80. AppId string `header:"appId,default=10000"`
  81. BaseUserId int64 `header:"newUserId"`
  82. PositionId int64 `header:"positionId,optional"`
  83. EntUserId int64 `header:"entUserId,optional"`
  84. EntId int64 `header:"entId,optional"`
  85. FileType string `form:"fileType"`
  86. FileName string `form:"fileName"`
  87. }
  88. type AddProjectReq struct {
  89. PositionId int64 `header:"positionId,optional"`
  90. Source int64 `json:"source,optional"`
  91. InfoId string `json:"info_id,optional"`
  92. PositionType int64 `header:"positionType,optional"`
  93. AccountId int64 `header:"accountId,optional"`
  94. CompanyName string `header:"entName,optional"`
  95. UserName string `header:"userName,optional"`
  96. UserId int64 `header:"newUserId,optional"`
  97. EntId int64 `header:"entId,optional"`
  98. EntUserName string `header:"entUserName,optional"`
  99. }
  100. type BiResp struct {
  101. Error_code int64 `json:"error_code"` //响应代码
  102. Error_msg string `json:"error_msg"` //响应消息
  103. Data interface{} `json:"data"`
  104. }
  105. type CallReq struct {
  106. PositionId int64 `header:"positionId,optional"`
  107. Phone string `json:"phone"`
  108. }
  109. type DrawClueReq struct {
  110. PositionId int64 `header:"positionId,optional"`
  111. Count int64 `json:"count,optional"`
  112. }
  113. type GetCompanyTypeReq struct {
  114. CompanyName string `json:"companyName"`
  115. }
  116. type GetInfoIdReq struct {
  117. PositionId int64 `header:"positionId,optional"`
  118. }
  119. type MyDataAssetReq struct {
  120. UserId string `header:"userId,optional"`
  121. NewUserId int64 `header:"newUserId,optional"`
  122. EntUserId int64 `header:"entUserId,optional"`
  123. }