Commit 807fed58 authored by 龚小红's avatar 龚小红

修改通话提交接口

parent 45285156
...@@ -1487,7 +1487,8 @@ public class Work implements Authorization { ...@@ -1487,7 +1487,8 @@ public class Work implements Authorization {
sleep(1000); sleep(1000);
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
params.put("custId", custId); params.put("custId", custId);
params.put("addWxStatus", "客户最关注养老社区什么"); params.put("addWxStatus", 7);
params.put("attentionOldCommunity", "客户最关注养老社区什么");
params.put("considerAgedForWho", "为谁考虑养老"); params.put("considerAgedForWho", "为谁考虑养老");
params.put("custAddress", "杭州市文新地铁站"); params.put("custAddress", "杭州市文新地铁站");
params.put("custAge", 62); params.put("custAge", 62);
...@@ -1498,7 +1499,7 @@ public class Work implements Authorization { ...@@ -1498,7 +1499,7 @@ public class Work implements Authorization {
params.put("recordId", callRecordId); params.put("recordId", callRecordId);
params.put("viewRetireCommunity", "社区参观情况"); params.put("viewRetireCommunity", "社区参观情况");
Response response = network.postResponse(params,BasicConfig.WORK_callSubmit); Response response = network.postResponse(params,BasicConfig.WORK_callSubmit);
boolean data = response.jsonPath().getBoolean("data.hasUndoneFeedback"); boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data,network.message(params,BasicConfig.WORK_callSubmit,"提交通话信息失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_callSubmit,"提交通话信息失败",response.body().asString()));
} }
......
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