renyupeng преди 1 година
родител
ревизия
d7e5aff661
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: