Commit 29d1090d authored by 龚小红's avatar 龚小红

增加权限管理的相关用例

parent 9e82d6ec
...@@ -798,7 +798,7 @@ public class Work implements Authorization { ...@@ -798,7 +798,7 @@ public class Work implements Authorization {
params.put("id", LEADER_ID); params.put("id", LEADER_ID);
params.put("sellerStatus", 1); params.put("sellerStatus", 1);
params.put("callPermission", 1); params.put("callPermission", 1);
params.put("workassignNewCustPermissionStatus", 0); params.put("assignNewCustPermission", 0);
params.put("assignRecycleCustPermission", 0); params.put("assignRecycleCustPermission", 0);
Response response = network.postResponse(params, BasicConfig.MANAGER_oto_updatePermission); Response response = network.postResponse(params, BasicConfig.MANAGER_oto_updatePermission);
boolean success = response.jsonPath().getBoolean("success"); boolean success = response.jsonPath().getBoolean("success");
...@@ -831,7 +831,7 @@ public class Work implements Authorization { ...@@ -831,7 +831,7 @@ public class Work implements Authorization {
params.put("id", LEADER_ID); params.put("id", LEADER_ID);
params.put("sellerStatus", 1); params.put("sellerStatus", 1);
params.put("callPermission", 1); params.put("callPermission", 1);
params.put("workassignNewCustPermissionStatus", 1); params.put("assignNewCustPermission", 1);
params.put("assignRecycleCustPermission", 1); params.put("assignRecycleCustPermission", 1);
Response response = network.postResponse(params, BasicConfig.MANAGER_oto_updatePermission); Response response = network.postResponse(params, BasicConfig.MANAGER_oto_updatePermission);
boolean success = response.jsonPath().getBoolean("success"); boolean success = response.jsonPath().getBoolean("success");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment