|
@@ -882,6 +882,22 @@ class APIMgr():
|
|
|
headers = GSTORE['headers']
|
|
|
response = self.s.post(f"{cfg.target_host}/publicapply/customer/attention", headers=headers, json={"name":"石嘴山市交通工程建设管理中心","mold":1,"D":True})
|
|
|
return response
|
|
|
+ #app登录后获取新用户留资报表
|
|
|
+ def new_uer_sales(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host_app}/salesLeads/appIsNewUerSales", headers=headers, json={})
|
|
|
+ return response
|
|
|
+ #定制化分析报告_超前项目
|
|
|
+ def reports_advanced_projects(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/leadGeneration/getDate", headers=headers, json={})
|
|
|
+ return response
|
|
|
+ #行为采集
|
|
|
+ def behavior_acquisition(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ response = self.s.post(f"{cfg.target_host}/leadGeneration/clickRecord", headers=headers, json={"type":"B"})
|
|
|
+ return response
|
|
|
+
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|