types.go 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type ResourcesReq struct {
  4. AccountId string `form:"accountId"` //账户标识
  5. CompanyId int64 `form:"companyId,optional"` //企业标识
  6. DepartmentId int64 `form:"departmentId,optional"` //组织标识
  7. Name string `form:"name"` //资源名称
  8. ResourceType string `form:"resourceType"` //资源类型
  9. Number int64 `form:"number"` //数量
  10. Spec string `form:"spec,optional"` //规格
  11. AppId string `form:"appId"` //标识
  12. Model int64 `form:"model"` //操作类型0使用1新增
  13. RuleId string `form:"ruleId,optional"` //使用规则标识
  14. UserId string `form:"userId"` //用户标识
  15. Url string `form:"url,optional"` //下载地址
  16. SearchCriteria string `form:"searchCriteria,optional"` //搜索条件
  17. Source string `form:"source,optional"` //数据来源
  18. EndTime string `form:"endTime,optional"` //新增时数据包截止时间
  19. InfoId string `form:"infoId,optional"` //信息标识
  20. DuplicateRemoval int64 `form:"duplicateRemoval,optional"` //是否去重0不去1去重
  21. DeductionType string `form:"deductionType,optional"` //扣费类型(1高级字段包)
  22. }
  23. type ResourcesRes struct {
  24. Code int64 `form:"code"`
  25. Message string `form:"message"`
  26. }
  27. type PreviewReq struct {
  28. InfoId string `form:"infoId,optional"` //信息标识
  29. AccountId string `form:"accountId,optional"` //企业标识
  30. ResourceType string `form:"resourceType,optional"` //资源类型
  31. }
  32. type PreviewRes struct {
  33. Code int64 `form:"code"`
  34. Message string `form:"message"`
  35. RepeatNumb int64 `form:"repeatNumb"`
  36. DeductionNumb int64 `form:"deductionNumb"`
  37. }
  38. type RecordReq struct {
  39. AccountId string `form:"accountId,optional"` //企业标识
  40. UserId string `form:"userId,optional"` //用户标识
  41. Page int `form:"page,optional"`
  42. PageSize int `form:"pageSize,optional"`
  43. }
  44. type RecordRes struct {
  45. Code int64 `json:"code"`
  46. Message string `json:"message"`
  47. }
  48. type AuthReq struct {
  49. AccountId string `form:"accountId,optional"` //企业标识
  50. UserId string `form:"userId,optional"` //用户标识
  51. }
  52. type AuthRes struct {
  53. Code int64 `json:"code"`
  54. Message string `json:"message"`
  55. }