lizhikun 4 сар өмнө
parent
commit
6125e440b8

+ 2 - 2
cases/pc/登录功能/订阅/distribution_update.py

@@ -11,7 +11,7 @@ class c1:
         res = r.json()
         res = r.json()
         #INFO(res)
         #INFO(res)
         actural  = res['error_code']
         actural  = res['error_code']
-        actural1 = res['data']
+        # actural1 = res['data']
         STEP(2,'第二步设置检查点')
         STEP(2,'第二步设置检查点')
         #设置检查点
         #设置检查点
-        CHECK_POINT('检查商机管理分发规则修改接口是否正常',actural ==0 and actural1 ==1)
+        CHECK_POINT('检查商机管理分发规则修改接口是否正常',actural ==0 )

+ 1 - 1
lib/webapi.py

@@ -1373,7 +1373,7 @@ class APIMgr():
             "district": {},
             "district": {},
             "identity": "ent"
             "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
         return response
 
 
     """分发规则详情接口"""
     """分发规则详情接口"""