|
@@ -1,8 +1,8 @@
|
|
|
import json
|
|
|
import requests
|
|
|
from hytest.common import *
|
|
|
-from pandas.io.formats.style import properties_args
|
|
|
-from sympy.physics.vector.printing import params
|
|
|
+#from pandas.io.formats.style import properties_args
|
|
|
+#from sympy.physics.vector.printing import params
|
|
|
|
|
|
from cfg import cfg
|
|
|
from bs4 import BeautifulSoup
|
|
@@ -1943,6 +1943,22 @@ class APIMgr():
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/knowledge/guessToAsk",headers = headers ,json = json)
|
|
|
return response
|
|
|
|
|
|
+ """获取订阅关键词-免费用户"""
|
|
|
+ def keywords_free(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ params = {
|
|
|
+ "isEnt":"false",
|
|
|
+ "ent_buy_member":0,
|
|
|
+ "ent_buy_vip":0,
|
|
|
+ "powerSource":0,
|
|
|
+ "userPower":1
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/subscribe/fType/getKey", headers=headers, params=params)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """"""
|
|
|
+
|
|
|
+
|
|
|
|
|
|
apimgr = APIMgr()
|
|
|
|