|
@@ -1,7 +1,7 @@
|
|
import json
|
|
import json
|
|
import requests
|
|
import requests
|
|
from hytest.common import *
|
|
from hytest.common import *
|
|
-from pandas.io.formats.style import properties_args
|
|
|
|
|
|
+#from pandas.io.formats.style import properties_args
|
|
from sympy.physics.vector.printing import params
|
|
from sympy.physics.vector.printing import params
|
|
|
|
|
|
from cfg import cfg
|
|
from cfg import cfg
|
|
@@ -1577,6 +1577,38 @@ class APIMgr():
|
|
}
|
|
}
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/fType/buyerList", headers=headers, json=json)
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/fType/buyerList", headers=headers, json=json)
|
|
return response
|
|
return response
|
|
|
|
+ # 采购单位搜索-大会员用户
|
|
|
|
+ def buyersearch_member(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ json = {
|
|
|
|
+ "buyerName": "",
|
|
|
|
+ "pageNum": 1,
|
|
|
|
+ "pageSize": 10,
|
|
|
|
+ "isCheckFollow": True,
|
|
|
|
+ "isCheckReceive": True,
|
|
|
|
+ "buyerClass": [],
|
|
|
|
+ "province": [],
|
|
|
|
+ "city": [],
|
|
|
|
+ "isContact": 0
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/mType/buyerList", headers=headers, json=json)
|
|
|
|
+ return response
|
|
|
|
+ # 采购单位搜索-超级订阅用户
|
|
|
|
+ def buyersearch_vip(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ json = {
|
|
|
|
+ "buyerName": "",
|
|
|
|
+ "pageNum": 1,
|
|
|
|
+ "pageSize": 10,
|
|
|
|
+ "isCheckFollow": True,
|
|
|
|
+ "isCheckReceive": True,
|
|
|
|
+ "buyerClass": [],
|
|
|
|
+ "province": [],
|
|
|
|
+ "city": [],
|
|
|
|
+ "isContact": 0
|
|
|
|
+ }
|
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/jybx/buyer/vType/buyerList", headers=headers, json=json)
|
|
|
|
+ return response
|
|
|
|
|
|
apimgr = APIMgr()
|
|
apimgr = APIMgr()
|
|
|
|
|