|
|
@ -130,7 +130,7 @@ namespace BBWYB.PurchaserCapture |
|
|
|
.WithTempQuery(g => new { MaxId = g.Max(g.Value.Item1.Id), PurchaserId = g.Key.Id, MemberId = g.Key.MemberId }) |
|
|
|
.From<PurchaseSchemeProduct>() |
|
|
|
.InnerJoin((psp2, psp1) => psp2.MaxId == psp1.Id) |
|
|
|
.OrderByDescending((psp2, psp1) => psp1.Id) |
|
|
|
.OrderByDescending((psp2, psp1) => Guid.NewGuid()) |
|
|
|
.ToList((psp2, psp1) => new |
|
|
|
{ |
|
|
|
psp1.PurchaserId, |
|
|
@ -145,7 +145,7 @@ namespace BBWYB.PurchaserCapture |
|
|
|
purchaserMemberId = pspList[i].MemberId; |
|
|
|
var url = $"https://detail.1688.com/offer/{pspList[i].PurchaseProductId}.html?clickid={Guid.NewGuid().ToString().Md5Encrypt()}&sessionid={Guid.NewGuid().ToString().Md5Encrypt()}&sk={sk}"; |
|
|
|
Navigate(url); |
|
|
|
|
|
|
|
|
|
|
|
Thread.Sleep(10000); |
|
|
|
} |
|
|
|
}); |
|
|
|