TkConfigDTO.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace molilian.core
  4. {
  5. [Table("tk_config")]
  6. public class TkConfigDTO
  7. {
  8. [Key]
  9. public int id { get; set; }
  10. public int ignorePercentage { get; set; } = 0;
  11. /// <summary>
  12. /// 按小时的放弃流量,24 个逗号分隔的 0-100 整数(0 点到 23 点),为空时用 ignorePercentage
  13. /// </summary>
  14. public string ignorePercentageHourly { get; set; } = string.Empty;
  15. public string pass_salt { get; set; } = string.Empty;
  16. public string ignorePercentageCity { get; set; } = string.Empty;
  17. public int fake_click_min { get; set; }
  18. public int fake_click_max { get; set; }
  19. public int fake_click_ttl { get; set; } = 86400;
  20. public int rt_max { get; set; } = 0;
  21. public string blacklist_oaid { get; set; } = string.Empty;
  22. /// <summary>
  23. /// 搜同款超时时间
  24. /// </summary>
  25. public int similar_timeout { get; set; } = 0;
  26. public string tk_whitelist_regular { get; set; } = string.Empty;
  27. public string tk_blacklist_regular { get; set; } = string.Empty;
  28. public string multi_token_regular { get; set; } = string.Empty;
  29. public int jdIgnorePercentage { get; set; } = 0;
  30. /// <summary>
  31. /// 按小时的放弃流量,24 个逗号分隔的 0-100 整数(0 点到 23 点),为空时用 jdIgnorePercentage
  32. /// </summary>
  33. public string jdIgnorePercentageHourly { get; set; } = string.Empty;
  34. public string jdIgnorePercentageCity { get; set; } = string.Empty;
  35. public int jd_limit_per_ip_24h { get; set; } = 0;
  36. public int jd_limit_per_oaid_24h { get; set; } = 0;
  37. public string jd_blacklist_regular { get; set; } = string.Empty;
  38. public string jd_h5st_sign_url { get; set; } = string.Empty;
  39. public string jd_h5st_sign_version { get; set; } = string.Empty;
  40. public string dp_style { get; set; } = string.Empty;
  41. public int dp_style_percentage { get; set; } = 0;
  42. public string dp_style_default_str { get; set; } = string.Empty;
  43. public int tk_limit_per_ip_24h { get; set; } = 0;
  44. public int tk_limit_per_oaid_24h { get; set; } = 0;
  45. /// <summary>
  46. /// 隐藏号专用:放弃转链的城市(所有隐藏号共用,写法同 ignorePercentageCity)
  47. /// </summary>
  48. public string hide_ignore_city { get; set; } = string.Empty;
  49. /// <summary>
  50. /// 隐藏号专用:同一 IP 每天最多转成功次数(所有隐藏号合计,淘宝/拼多多分开计数),0 不限
  51. /// </summary>
  52. public int hide_limit_per_ip_24h { get; set; } = 0;
  53. /// <summary>
  54. /// 隐藏号专用:同一 OAID 每天最多转成功次数(所有隐藏号合计,淘宝/拼多多分开计数),0 不限
  55. /// </summary>
  56. public int hide_limit_per_oaid_24h { get; set; } = 0;
  57. public int tk_parse_retry_count { get; set; } = 0;
  58. public string tk_parse_default_icon { get; set; } = string.Empty;
  59. public string cpsIgnorePercentageCity { get; set; } = string.Empty;
  60. public int cps_limit_per_ip_24h { get; set; } = 0;
  61. public int cps_limit_per_oaid_24h { get; set; } = 0;
  62. public int pddIgnorePercentage { get; set; } = 0;
  63. /// <summary>
  64. /// 按小时的放弃流量,24 个逗号分隔的 0-100 整数(0 点到 23 点),为空时用 pddIgnorePercentage
  65. /// </summary>
  66. public string pddIgnorePercentageHourly { get; set; } = string.Empty;
  67. public string pddIgnorePercentageCity { get; set; } = string.Empty;
  68. public int pdd_limit_per_ip_24h { get; set; } = 0;
  69. public int pdd_limit_per_oaid_24h { get; set; } = 0;
  70. public string pdd_blacklist_regular { get; set; } = string.Empty;
  71. public bool pdd_rrecheck_enabled { get; set; } = true;
  72. public string pdd_precheck_client_id { get; set; } = string.Empty;
  73. public string pdd_precheck_client_secret { get; set; } = string.Empty;
  74. public string pdd_precheck_pid { get; set; } = string.Empty;
  75. public int ksIgnorePercentage { get; set; } = 0;
  76. /// <summary>
  77. /// 按小时的放弃流量,24 个逗号分隔的 0-100 整数(0 点到 23 点),为空时用 ksIgnorePercentage
  78. /// </summary>
  79. public string ksIgnorePercentageHourly { get; set; } = string.Empty;
  80. public string ksIgnorePercentageCity { get; set; } = string.Empty;
  81. public int ks_limit_per_ip_24h { get; set; } = 0;
  82. public int ks_limit_per_oaid_24h { get; set; } = 0;
  83. public string ks_blacklist_regular { get; set; } = string.Empty;
  84. public string ksTestToken { get; set; } = string.Empty;
  85. public int dyIgnorePercentage { get; set; } = 0;
  86. public string dyIgnorePercentageCity { get; set; } = string.Empty;
  87. public int dy_limit_per_ip_24h { get; set; } = 0;
  88. public int dy_limit_per_oaid_24h { get; set; } = 0;
  89. public string account_warning_ignore_groups { get; set; } = string.Empty;
  90. public string webook_forward_zlong { get; set; } = string.Empty;
  91. }
  92. }