|
@@ -267,4 +267,21 @@ class APIMgr():
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/getDetailEquity", headers=hearders, json=json)
|
|
response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/getDetailEquity", headers=hearders, json=json)
|
|
return response
|
|
return response
|
|
|
|
|
|
|
|
+ """订阅区域修改"""
|
|
|
|
+ def subscription_region_modification(self):
|
|
|
|
+ hearders = GSTORE['headers']
|
|
|
|
+ s = GSTORE['s']
|
|
|
|
+ json = {
|
|
|
|
+ "ModifyType":"全部"
|
|
|
|
+ }
|
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/updateArea", headers=hearders, json=json)
|
|
|
|
+ return response
|
|
|
|
+
|
|
|
|
+ """订阅业务类型修改"""
|
|
|
|
+ def subscription_service_type_changes(self):
|
|
|
|
+ hearders = GSTORE['headers']
|
|
|
|
+ s = GSTORE['s']
|
|
|
|
+ response = s.post(f"{cfg.target_host_wxapi}/debrisproduct/updateIndustry", headers=hearders)
|
|
|
|
+ return response
|
|
|
|
+
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|