Commit 0626c9d7 authored by 龚小红's avatar 龚小红

增加社区客户

parent 182a8e9e
...@@ -57,12 +57,12 @@ public class Phone implements Authorization { ...@@ -57,12 +57,12 @@ public class Phone implements Authorization {
Assert.assertNotNull(myselfCustomer_id,network.message(params,BasicConfig.PHONE_customerSave,"创建缘故客户失败",response.body().asString())); Assert.assertNotNull(myselfCustomer_id,network.message(params,BasicConfig.PHONE_customerSave,"创建缘故客户失败",response.body().asString()));
} }
@Test(description = "创建转介绍客户",priority = 3) @Test(description = "创建社区客户",priority = 3)
public void 创建转介绍客户(){ public void 创建社区客户(){
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
params.put("custName", "自动化转介绍客户"); params.put("custName", "自动化社区客户");
params.put("custPhoneNum", "15136361305"); params.put("custPhoneNum", "15136361305");
params.put("custActionType", "05"); params.put("custActionType", "09");
Response response = network.postResponse(params, BasicConfig.PHONE_customerSave); Response response = network.postResponse(params, BasicConfig.PHONE_customerSave);
introduceCustomer_id = response.jsonPath().getString("data"); introduceCustomer_id = response.jsonPath().getString("data");
Assert.assertNotNull(introduceCustomer_id,network.message(params,BasicConfig.PHONE_customerSave,"创建转介绍客户失败",response.body().asString())); Assert.assertNotNull(introduceCustomer_id,network.message(params,BasicConfig.PHONE_customerSave,"创建转介绍客户失败",response.body().asString()));
......
...@@ -1315,7 +1315,7 @@ public class Work implements Authorization { ...@@ -1315,7 +1315,7 @@ public class Work implements Authorization {
@Test(description = "查看盘点客户列表",priority = 96) @Test(description = "查看盘点客户列表",priority = 96)
public void 查看盘点客户列表(){ public void 查看盘点客户列表(){
sleep(3000); sleep(10000);
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
params.put("custName","自动化"); params.put("custName","自动化");
params.put("todayCheck",1); params.put("todayCheck",1);
......
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