|
@@ -415,6 +415,24 @@ class APIMgr():
|
|
|
s = GSTORE["s"]
|
|
|
response =s.get(f"{cfg.target_host}/entnicheNew/buy/whetherbuy",headers=headers)
|
|
|
return response
|
|
|
+
|
|
|
+ def Commonly_List(self):
|
|
|
+ headers = {
|
|
|
+ 'content-Type': 'application/json',
|
|
|
+ 'appId': '10000',
|
|
|
+ 'userid': '63a41aa5cd7ea10389b2a8f3'
|
|
|
+ }
|
|
|
+ s = GSTORE['s']
|
|
|
+ response =s.post(f"{cfg.target_host}/userCenter/workDesktop/renew/commonlyList",headers=headers)
|
|
|
+ return response
|
|
|
+ def Authorised_info(self):
|
|
|
+ headers = {
|
|
|
+ "Content-Type":"application/json",
|
|
|
+ "functionCode":"znsj_kf_use"
|
|
|
+ }
|
|
|
+ s = GSTORE['s']
|
|
|
+ response =s.post(f"{cfg.target_host}/resourceCenter/waitEmpowerDetail",headers=headers)
|
|
|
+ return response
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|