renyupeng před 11 měsíci
rodič
revize
d7e5aff661
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      utils/PromoterInfoWebHook.py

+ 1 - 1
utils/PromoterInfoWebHook.py

@@ -59,7 +59,7 @@ def webhook_get_promoter():
             print(cookie,'----------cookie--------------')
             phone_num = int(random_item[1])
             print(phone_num,'------phone_num-------')
-            results = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
+            results = ReturnPromoterInfoSpider.PromoterInfoSpiderHandler(promoterId, cookie)
             print(results, '-----results-----{promoterId}'.format(promoterId=promoterId))
             if json.loads(results).__contains__("result"):
                 if json.loads(results)["result"] == 109: