|
@@ -174,5 +174,38 @@ class APIMgr():
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/info/subscribeList", headers=hearders, json=json)
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/info/subscribeList", headers=hearders, json=json)
|
|
return response
|
|
return response
|
|
|
|
|
|
|
|
+ """监控列表"""
|
|
|
|
+ def monitor_list(self):
|
|
|
|
+ hearders = GSTORE['headers']
|
|
|
|
+ s = GSTORE['s']
|
|
|
|
+ json={
|
|
|
|
+ "Size": 1,
|
|
|
|
+ "Page": 1
|
|
|
|
+ }
|
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/monitorList", headers=hearders, json=json)
|
|
|
|
+ return response
|
|
|
|
+
|
|
|
|
+ """监控操作"""
|
|
|
|
+ def monitor_operate(self):
|
|
|
|
+ hearders = GSTORE['headers']
|
|
|
|
+ s = GSTORE['s']
|
|
|
|
+ json={
|
|
|
|
+ "CompanyName":"东莞市中医院",
|
|
|
|
+ "OperateType":1
|
|
|
|
+ }
|
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/monitorOperate", headers=hearders, json=json)
|
|
|
|
+ return response
|
|
|
|
+
|
|
|
|
+ """详情页信息"""
|
|
|
|
+ def detailed_information(self):
|
|
|
|
+ hearders = GSTORE['headers']
|
|
|
|
+ s = GSTORE['s']
|
|
|
|
+ json = {
|
|
|
|
+ "_id": "ABCY1xZcDIvJyssAlV1cHU8CicoEjRjYWR1Pw4jIy4wc3xzfTNUCec%3D"
|
|
|
|
+ }
|
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/getBiddingDetail", headers=hearders, json=json)
|
|
|
|
+ return response
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|