|
@@ -956,7 +956,60 @@ class APIMgr():
|
|
|
}
|
|
|
response = self.s.post(f"{cfg.target_host_app}/salesLeads/appNewUerSales", headers=headers, json=json)
|
|
|
return response
|
|
|
+ # 商机情报详情页
|
|
|
|
|
|
+ def business_intelligence(self):
|
|
|
+ headers = GSTORE['headers'] = GSTORE['headers']
|
|
|
+ response = self.s.post(
|
|
|
+ f"{cfg.target_host}/bigmember/project/businessDetails?id=ABCY1xZdSlYKD0sAnd6cAcSMTI4DRZjV3diPB40OS8NfGpzZQFUCYI%3D",
|
|
|
+ headers=headers)
|
|
|
+ return response
|
|
|
+
|
|
|
+ def me_Monitoring(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.get(f"{cfg.target_host}/bigmember/project/meMonitoring", headers=headers)
|
|
|
+ return response
|
|
|
+ # 要闻
|
|
|
+
|
|
|
+ def important_News(self):
|
|
|
+ heards = GSTORE['headers']
|
|
|
+ response = self.s.get(f"{cfg.target_host}/front/project/importantNews", headers=heards)
|
|
|
+ return response
|
|
|
+ # 文库分类
|
|
|
+
|
|
|
+ def jydocs_indexTag(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jydocs/indexTag", headers=headers, json={})
|
|
|
+ return response
|
|
|
+ # 文库搜索
|
|
|
+
|
|
|
+ def jydocs_search(self):
|
|
|
+ headers = GSTORE["headers"]
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jydocs/search?keyWord=法律", headers=headers)
|
|
|
+ return response
|
|
|
+ # 文库详情
|
|
|
+
|
|
|
+ def jydocs_detail(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jydocs/detail?docId=docin-4756450426", headers=headers)
|
|
|
+ return response
|
|
|
+ # 留资提交2.0
|
|
|
+
|
|
|
+ def salesLeads_collectInfo(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/salesLeads/collectInfo", headers=headers,
|
|
|
+ json={"source": "article_proposed_project", "name": "质量部测试", "phone": "18211989987",
|
|
|
+ "mail": "1550987547@qq.com", "industry": "", "company": "质量部测试企业",
|
|
|
+ "companyType": "投标企业", "position": "总裁", "workScope": "", "partnerNeeds": "",
|
|
|
+ "agree": True, "branch": ""})
|
|
|
+ return response
|
|
|
+ # 留资提交
|
|
|
+
|
|
|
+ def salesLeads_retainedCapital(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/salesLeads/retainedCapital", headers=headers,
|
|
|
+ params={"source": "article_proposed_project"})
|
|
|
+ return response
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|