|
@@ -1,7 +1,7 @@
|
|
|
import json
|
|
|
import requests
|
|
|
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 cfg import cfg
|
|
@@ -1551,7 +1551,6 @@ class APIMgr():
|
|
|
response = self.s.get(f"{cfg.target_host_wx}/front/rewardText", headers=headers)
|
|
|
return response
|
|
|
|
|
|
-
|
|
|
# 添加使用人员
|
|
|
def addUsePerson(self):
|
|
|
headers = GSTORE['headers']
|
|
@@ -1883,6 +1882,15 @@ class APIMgr():
|
|
|
response = self.s.post(f"{cfg.target_host}/jyapi/jybx/core/polymerizeSearch",headers = headers ,json = json)
|
|
|
return response
|
|
|
|
|
|
+ """拨打电话"""
|
|
|
+ def call(self):
|
|
|
+ headers = GSTORE['headers']
|
|
|
+ json = {
|
|
|
+ "phone": "19989900000"
|
|
|
+ }
|
|
|
+ response = self.s.post(f"{cfg.target_host}/jyapi/biService/call", headers=headers, json=json)
|
|
|
+ return response
|
|
|
+
|
|
|
apimgr = APIMgr()
|
|
|
|
|
|
|