types.go 3.9 KB

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