|
@@ -191,6 +191,19 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host}/subscribepay/orderListDetails/myOrder", headers=hearders, params=params)
|
|
|
return response
|
|
|
|
|
|
+ """优惠卷"""
|
|
|
+ def get_coupon(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ params={
|
|
|
+ "mold": 4,
|
|
|
+ "currentPage": 1,
|
|
|
+ "pageSize": 8,
|
|
|
+ "platform": "P"
|
|
|
+ }
|
|
|
+ response= s.post(f"{cfg.target_host}/jyCoupon/getInfoByUser", headers=hearders,params=params)
|
|
|
+ return response
|
|
|
+
|
|
|
"""数据自动导出"""
|
|
|
def get_dataExport(self,publishtime=1672502400_1688951529,keyword='数据',selectType='title'):
|
|
|
hearders = GSTORE['headers']
|
|
@@ -214,7 +227,6 @@ class APIMgr():
|
|
|
response = s.post(f"{cfg.target_host}/front/dataExport/sieveData", headers=hearders, params=params)
|
|
|
return response
|
|
|
|
|
|
-
|
|
|
"""数据导出记录"""
|
|
|
def Export_recordList(self):
|
|
|
hearders = GSTORE['headers']
|
|
@@ -287,6 +299,33 @@ class APIMgr():
|
|
|
}
|
|
|
response = s.post(f"{cfg.target_host}/bigmember/follow/ent/list", headers=hearders, params=params)
|
|
|
return response
|
|
|
+ """客户监控"""
|
|
|
+ def Customer_monitoring(self,):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ params = {
|
|
|
+ "pagesize": 10,
|
|
|
+ "pageno": 0,
|
|
|
+ "keyword":""
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/publicapply/customer/list", headers=hearders, params=params)
|
|
|
+ return response
|
|
|
+
|
|
|
+ """标讯收藏"""
|
|
|
+ def Message_Collection(self):
|
|
|
+ hearders = GSTORE['headers']
|
|
|
+ s = GSTORE['s']
|
|
|
+ params={
|
|
|
+ "buyerPhone":0,
|
|
|
+ "buyerclass":"",
|
|
|
+ "label":"",
|
|
|
+ "pagenum":1,
|
|
|
+ "pagesize":50,
|
|
|
+ "selectTime":"",
|
|
|
+ "winnerPhone":0
|
|
|
+ }
|
|
|
+ response = s.post(f"{cfg.target_host}/publicapply/bidcoll/list", headers=hearders, params=params)
|
|
|
+ return response
|
|
|
|
|
|
|
|
|
apimgr = APIMgr()
|