renyupeng 11 bulan lalu
induk
melakukan
18d4e949c6
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      utils/PromoterInfoWebHook.py

+ 1 - 0
utils/PromoterInfoWebHook.py

@@ -58,6 +58,7 @@ def webhook_get_promoter():
             random_member = r.zrange('kuaishou_shop_click_token', 0, -1, withscores=True)
             random_member = r.zrange('kuaishou_shop_click_token', 0, -1, withscores=True)
             random_item = random.choice(random_member)
             random_item = random.choice(random_member)
             cookie = random_item[0].decode('utf-8')
             cookie = random_item[0].decode('utf-8')
+            print(cookie,'----------cookie--------------')
             phone_num = int(random_item[1])
             phone_num = int(random_item[1])
             roll = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
             roll = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
             print(roll, '-----111-----{promoterId}'.format(promoterId=promoterId))
             print(roll, '-----111-----{promoterId}'.format(promoterId=promoterId))