@@ -11,7 +11,7 @@ class c1:
res = r.json()
#INFO(res)
actural = res['error_code']
- actural1 = res['data']
+ # actural1 = res['data']
STEP(2,'第二步设置检查点')
#设置检查点
- CHECK_POINT('检查商机管理分发规则修改接口是否正常',actural ==0 and actural1 ==1)
+ CHECK_POINT('检查商机管理分发规则修改接口是否正常',actural ==0 )
@@ -1373,7 +1373,7 @@ class APIMgr():
"district": {},
"identity": "ent"
}
- response = s.get(f"{cfg.target_host}/entnicheNew/distribute/update", headers=hearders, json=json)
+ response = s.get(f"{cfg.target_host}/entnicheNew/distribute/update", headers=hearders, data=json)
return response
"""分发规则详情接口"""