renyupeng 1 年之前
父節點
當前提交
93ee3caabf
共有 1 個文件被更改,包括 3 次插入1 次删除
  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)