优惠券,大人推广相关内容
This commit is contained in:
1 parent
4038b0390a
commit
7b06707a40
15 files changed
+4426
-379
No files matched your search
@@ -132,10 +132,11 @@ namespace TemuKJD.BLL
|
||||
"&shop_ids='" + string.Join("','", shop_ids) + "'";
|
||||
data += "&page_size=200";
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
for (int i = 0; i < 5 && (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200")); i++)
|
||||
{
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
System.Threading.Thread.Sleep(200);
|
||||
}
|
||||
if (string.IsNullOrEmpty(html)
|
||||
|| !html.Contains("shop_id") || !html.Contains("shop_account") || !html.Contains("login_pass"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user