|
|
@@ -9,6 +9,17 @@ namespace molilian.core
|
|
|
{
|
|
|
public partial class AlimamaPlus
|
|
|
{
|
|
|
+ internal static string FakeItemUrl(string content, string dplink)
|
|
|
+ {
|
|
|
+ if (string.IsNullOrEmpty(content))
|
|
|
+ {
|
|
|
+ content = dplink.Replace("taobao://", "https://");
|
|
|
+ }
|
|
|
+ (bool success, string url) = IsTaobaoUrl(content);
|
|
|
+ if (success) return url;
|
|
|
+ return content;
|
|
|
+ }
|
|
|
+
|
|
|
internal async Task<UnionCouponDTO> UnionCoupon2Async(string content, UnionCouponDTO result, CancellationToken cancellationToken = default)
|
|
|
{
|
|
|
TkDataDTO data = new();
|