renyupeng 1 year ago
parent
commit
93ee3caabf
1 changed files with 3 additions and 1 deletions
  1. 3 1
      utils/PromoterInfoWebHook.py

+ 3 - 1
utils/PromoterInfoWebHook.py

@@ -100,6 +100,7 @@ def webhook_get_promoter():
                     p3.start()
                     p4.start()
                     p5.start()
+                    print(roll, '--------roll3---------{promoterId}'.format(promoterId=promoterId))
                     return rolls
 
             else:
@@ -116,7 +117,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))
                 return roll
     else:
         rep = json.loads(request.data)
@@ -126,6 +127,7 @@ def webhook_get_promoter():
 
         roll = SpiderDouyinHeader().DouyinHandler(promoterId, cookie)
         if roll != 10086:
+            print(roll, '--------roll2---------{promoterId}'.format(promoterId=promoterId))
             return roll
         else:
             douyin_cookie_update.update_cookie_handler(phone_num)