|
@@ -31,7 +31,7 @@ def api_root():
|
|
def webhook_get_promoter():
|
|
def webhook_get_promoter():
|
|
rep = json.loads(request.data)
|
|
rep = json.loads(request.data)
|
|
promoterId = rep["promoterId"]
|
|
promoterId = rep["promoterId"]
|
|
- sql = "select cookie from ruixuan.kuaishou_supply_chain_cookie"
|
|
|
|
|
|
+ sql = "select cookie from kwai_promoter.kuaishou_supply_chain_cookie"
|
|
cookie = MysqlUtils().QueryOne(sql)[0]
|
|
cookie = MysqlUtils().QueryOne(sql)[0]
|
|
rollback = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
|
|
rollback = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
|
|
p1 = Process(target=PromoterInfoSpider().PromoterInfoSpiderHandler, args=(promoterId, cookie))
|
|
p1 = Process(target=PromoterInfoSpider().PromoterInfoSpiderHandler, args=(promoterId, cookie))
|