|
@@ -53,7 +53,7 @@ def webhook_get_promoter():
|
|
|
cookie = random_item[0].decode('utf-8')
|
|
|
phone_num = int(random_item[1])
|
|
|
roll = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
|
|
|
- print(roll,'----------{promoterId}'.format(promoterId=promoterId))
|
|
|
+ print(roll,'-----111-----{promoterId}'.format(promoterId=promoterId))
|
|
|
|
|
|
if json.loads(roll).__contains__("result"):
|
|
|
if json.loads(roll)["result"] == 109:
|
|
@@ -78,7 +78,7 @@ def webhook_get_promoter():
|
|
|
p3.start()
|
|
|
p4.start()
|
|
|
p5.start()
|
|
|
- print(rollback,'-----{promoterId}'.format(promoterId=promoterId))
|
|
|
+ print(rollback,'--222---{promoterId}'.format(promoterId=promoterId))
|
|
|
|
|
|
return rollback
|
|
|
|
|
@@ -102,7 +102,7 @@ def webhook_get_promoter():
|
|
|
p3.start()
|
|
|
p4.start()
|
|
|
p5.start()
|
|
|
- print(rolls, '--------roll3---------{promoterId}'.format(promoterId=promoterId))
|
|
|
+ print(rolls, '-------333-roll3---------{promoterId}'.format(promoterId=promoterId))
|
|
|
return rolls
|
|
|
|
|
|
else:
|
|
@@ -119,7 +119,7 @@ def webhook_get_promoter():
|
|
|
p4.start()
|
|
|
p5.start()
|
|
|
r.zrem('kuaishou_shop_click_token', random_item[0])
|
|
|
- print(roll, '--------roll1---------{promoterId}'.format(promoterId=promoterId))
|
|
|
+ print(roll, '--------444---roll1---------{promoterId}'.format(promoterId=promoterId))
|
|
|
return roll
|
|
|
else:
|
|
|
rep = json.loads(request.data)
|