Bladeren bron

增加淘宝默认转链图标

dodo hold 2 weken geleden
bovenliggende
commit
fa1018e925

File diff suppressed because it is too large
+ 0 - 0
molilian.api/Properties/PublishProfiles/latest.pubxml.user


+ 1 - 0
molilian.core/DTO/alimama/TkConfigDTO.cs

@@ -40,6 +40,7 @@ namespace molilian.core
         public int tk_limit_per_ip_24h { get; set; } = 0;
         public int tk_limit_per_oaid_24h { get; set; } = 0;
         public int tk_parse_retry_count { get; set; } = 0;
+        public string tk_parse_default_icon { get; set; } = string.Empty;
 
         public string cpsIgnorePercentageCity { get; set; } = string.Empty;
         public int cps_limit_per_ip_24h { get; set; } = 0;

+ 4 - 0
molilian.core/Plus/Alimama/parse_endpoint/endpoint_aiopen.cs

@@ -220,6 +220,10 @@ namespace molilian.core
                 result.item_deeplink_url = GetDeeplink(result.item_url);
                 result.itemId = ExtractItemId(content) ?? result.itemId;
 
+
+                result.pic = _config.tk_parse_default_icon;
+                // "http://doc.molilian.com/20260817142801_2822_122.png?x-oss-process=image/resize,w_200";
+
                 // 完整淘口令格式:m.tb.cn 链接 + 商品标题 + 两位字母和 3~4 位数字。
                 Match titleMatch = Regex.Match(
                     fullTpwd,

Some files were not shown because too many files changed in this diff