|
@@ -155,7 +155,7 @@ class APIMgr():
|
|
"buyerTel": "",
|
|
"buyerTel": "",
|
|
"winnerTel": ""
|
|
"winnerTel": ""
|
|
}
|
|
}
|
|
- response = session.post(f"{cfg.target_host}/jyapi/jybx/core/mType/searchList", headers=headers, data=data,timeout=(5,10))
|
|
|
|
|
|
+ response = session.post(f"{cfg.target_host}/jyapi/jybx/core/mType/searchList", headers=headers, json=data,timeout=(5,10))
|
|
return response
|
|
return response
|
|
|
|
|
|
# 企业搜索
|
|
# 企业搜索
|
|
@@ -905,7 +905,7 @@ class APIMgr():
|
|
headers = GSTORE['headers']
|
|
headers = GSTORE['headers']
|
|
response = self.s.post(f"{cfg.target_host}/entnicheNew/customer/getLabel", headers=headers, json={})
|
|
response = self.s.post(f"{cfg.target_host}/entnicheNew/customer/getLabel", headers=headers, json={})
|
|
return response
|
|
return response
|
|
- #商机管理客户关注
|
|
|
|
|
|
+ #商机管理
|
|
def customer_attention(self):
|
|
def customer_attention(self):
|
|
headers = GSTORE['headers']
|
|
headers = GSTORE['headers']
|
|
response = self.s.post(f"{cfg.target_host}/publicapply/customer/attention", headers=headers, json={"name":"石嘴山市交通工程建设管理中心","mold":1,"D":True})
|
|
response = self.s.post(f"{cfg.target_host}/publicapply/customer/attention", headers=headers, json={"name":"石嘴山市交通工程建设管理中心","mold":1,"D":True})
|