types.go 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type BiResp struct {
  4. Error_code int64 `json:"error_code"` //响应代码
  5. Error_msg string `json:"error_msg"` //响应消息
  6. Data interface{} `json:"data"`
  7. }
  8. type MyDataAssetReq struct {
  9. UserId string `header:"userId,optional"`
  10. NewUserId int64 `header:"newUserId,optional"`
  11. EntUserId int64 `header:"entUserId,optional"`
  12. }
  13. type AddProjectReq struct {
  14. PositionId int64 `header:"positionId,optional"`
  15. Source int64 `json:"source,optional"`
  16. InfoId string `json:"info_id,optional"`
  17. PositionType int64 `header:"positionType,optional"`
  18. AccountId int64 `header:"accountId,optional"`
  19. CompanyName string `header:"entName,optional"`
  20. UserName string `header:"userName,optional"`
  21. UserId int64 `header:"newUserId,optional"`
  22. EntId int64 `header:"entId,optional"`
  23. EntUserName string `header:"entUserName,optional"`
  24. }
  25. type GetInfoIdReq struct {
  26. PositionId int64 `header:"positionId,optional"`
  27. }
  28. type DrawClueReq struct {
  29. PositionId int64 `header:"positionId,optional"`
  30. Count int64 `json:"count,optional"`
  31. }
  32. type CallReq struct {
  33. PositionId int64 `header:"positionId,optional"`
  34. Phone string `json:"phone"`
  35. }
  36. type DistributeClueReq struct {
  37. ClueCount string `json:"clueCount"`
  38. ClueIdList []int64 `json:"clueIdList"`
  39. Datas []map[string]interface{} `json:"datas"`
  40. PositionId int64 `header:"positionId,optional"`
  41. IsTask int64 `json:"isTask"`
  42. }
  43. type ClueImportReq struct {
  44. PositionId int64 `header:"positionId,optional"`
  45. Pcbh string `json:"pcbh"`
  46. }
  47. type ClueAddReq struct {
  48. Phone string `json:"phone"`
  49. Username string `json:"username,optional"`
  50. Source string `json:"source"`
  51. Status999 string `json:"status999"`
  52. Owner string `json:"owner"`
  53. EmpNo string `json:"empNo"`
  54. Company string `json:"company,optional"`
  55. IsPolicymaker string `json:"isPolicymaker,optional"`
  56. BelongToIndustry string `json:"belongToIndustry,optional"`
  57. Job string `json:"job,optional"`
  58. CustomerNeeds string `json:"customerNeeds,optional"`
  59. BelongTo string `json:"belongTo,optional"`
  60. WantGoods string `json:"wantGoods,optional"`
  61. CustomerBudget string `json:"customerBudget,optional"`
  62. }
  63. type SqlManageReq struct {
  64. Id float64 `json:"id"`
  65. Params []Param `json:"params"`
  66. }
  67. type Param struct {
  68. Value string `json:"value"`
  69. Type string `json:"type"`
  70. }
  71. type MyInfoReq struct {
  72. Bid string `json:"bid,optional"`
  73. Sid string `json:"sid"`
  74. }
  75. type ResEmpowerReq struct {
  76. EntId int64 `header:"entId"`
  77. ReqType int64 `json:"reqType"`
  78. FunctionCode string `json:"functionCode"`
  79. EntUserId string `json:"entUserId"`
  80. PositionId string `json:"positionId"`
  81. }
  82. type ExportReq struct {
  83. Mail string `json:"mail"`
  84. Mapping []string `json:"mapping"`
  85. PositionId int64 `header:"positionId,optional"`
  86. }
  87. type OperateReq struct {
  88. NewId string `json:"newId"`
  89. Type int64 `json:"type"`
  90. }