Commit 6a8aaed4 authored by 张艳玲's avatar 张艳玲

更新客户详情

parent b95017ee
...@@ -30,7 +30,6 @@ public class LiveLater implements Authorization { ...@@ -30,7 +30,6 @@ public class LiveLater implements Authorization {
ThreadSleepUtils.sleep(100000); ThreadSleepUtils.sleep(100000);
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
Response response = network.getResponse(params,BasicConfig.MOBILE_recycleSuccessCase); Response response = network.getResponse(params,BasicConfig.MOBILE_recycleSuccessCase);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
Object data = response.jsonPath().getJsonObject("data"); Object data = response.jsonPath().getJsonObject("data");
...@@ -41,7 +40,6 @@ public class LiveLater implements Authorization { ...@@ -41,7 +40,6 @@ public class LiveLater implements Authorization {
public void 获取直播案例() { public void 获取直播案例() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
Response response = network.getResponse(params,BasicConfig.MOBILE_successCase); Response response = network.getResponse(params,BasicConfig.MOBILE_successCase);
boolean success =response.jsonPath().getBoolean("success"); boolean success =response.jsonPath().getBoolean("success");
System.out.println(success); System.out.println(success);
...@@ -56,7 +54,6 @@ public class LiveLater implements Authorization { ...@@ -56,7 +54,6 @@ public class LiveLater implements Authorization {
public void 获取代理人各线索等级的线索数() { public void 获取代理人各线索等级的线索数() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
Response response = network.getResponse(params,BasicConfig.MOBILE_ClueNum); Response response = network.getResponse(params,BasicConfig.MOBILE_ClueNum);
boolean success =response.jsonPath().getBoolean("success"); boolean success =response.jsonPath().getBoolean("success");
System.out.println(success); System.out.println(success);
...@@ -84,7 +81,6 @@ public class LiveLater implements Authorization { ...@@ -84,7 +81,6 @@ public class LiveLater implements Authorization {
public void 获取发奖人信息() { public void 获取发奖人信息() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
Response response = network.getResponse(params,BasicConfig.MOBILE_providerInfo); Response response = network.getResponse(params,BasicConfig.MOBILE_providerInfo);
Object data = response.jsonPath().getJsonObject("data"); Object data = response.jsonPath().getJsonObject("data");
System.out.println(data); System.out.println(data);
...@@ -99,7 +95,6 @@ public class LiveLater implements Authorization { ...@@ -99,7 +95,6 @@ public class LiveLater implements Authorization {
public void 直播结束线索列表页() { public void 直播结束线索列表页() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
Response response = network.getResponse(params,BasicConfig.MOBILE_ClueList); Response response = network.getResponse(params,BasicConfig.MOBILE_ClueList);
...@@ -119,7 +114,6 @@ public class LiveLater implements Authorization { ...@@ -119,7 +114,6 @@ public class LiveLater implements Authorization {
public void 直接邀请tab数据() { public void 直接邀请tab数据() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
params.put("actionTypeList",26); params.put("actionTypeList",26);
...@@ -136,7 +130,6 @@ public class LiveLater implements Authorization { ...@@ -136,7 +130,6 @@ public class LiveLater implements Authorization {
public void 转介绍tab数据() { public void 转介绍tab数据() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
params.put("actionTypeList",22); params.put("actionTypeList",22);
...@@ -153,7 +146,6 @@ public class LiveLater implements Authorization { ...@@ -153,7 +146,6 @@ public class LiveLater implements Authorization {
public void 中奖tab数据() { public void 中奖tab数据() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
params.put("actionTypeList",17); params.put("actionTypeList",17);
...@@ -172,7 +164,6 @@ public class LiveLater implements Authorization { ...@@ -172,7 +164,6 @@ public class LiveLater implements Authorization {
public void 报名tab数据() { public void 报名tab数据() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
params.put("actionTypeList",20); params.put("actionTypeList",20);
...@@ -190,7 +181,6 @@ public class LiveLater implements Authorization { ...@@ -190,7 +181,6 @@ public class LiveLater implements Authorization {
public void 观看20分钟以上tab数据() { public void 观看20分钟以上tab数据() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("pageIndex",1); params.put("pageIndex",1);
params.put("pageSize",30); params.put("pageSize",30);
params.put("actionTypeList",4); params.put("actionTypeList",4);
...@@ -208,7 +198,6 @@ public class LiveLater implements Authorization { ...@@ -208,7 +198,6 @@ public class LiveLater implements Authorization {
public void 客户A线索已读() { public void 客户A线索已读() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("liveUserId",this.liveUserId.get(0).getLiveUserId()); params.put("liveUserId",this.liveUserId.get(0).getLiveUserId());
Response response = network.postResponse(params,BasicConfig.MOBILE_readClue); Response response = network.postResponse(params,BasicConfig.MOBILE_readClue);
boolean data = response.jsonPath().getBoolean("data"); boolean data = response.jsonPath().getBoolean("data");
...@@ -222,7 +211,6 @@ public class LiveLater implements Authorization { ...@@ -222,7 +211,6 @@ public class LiveLater implements Authorization {
public void 查看客户A线索详情() { public void 查看客户A线索详情() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("liveUserId",this.liveUserId.get(0).getLiveUserId()); params.put("liveUserId",this.liveUserId.get(0).getLiveUserId());
Response response = network.getResponse(params,BasicConfig.MOBILE_getClueDetail); Response response = network.getResponse(params,BasicConfig.MOBILE_getClueDetail);
System.out.println(response.body().asString()); System.out.println(response.body().asString());
...@@ -251,7 +239,6 @@ public class LiveLater implements Authorization { ...@@ -251,7 +239,6 @@ public class LiveLater implements Authorization {
public void 查看客户B答题线索详情() { public void 查看客户B答题线索详情() {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
// params.put("liveId","Kj21MzYyNjM");
params.put("liveUserId",this.liveUserId.get(1).getLiveUserId()); params.put("liveUserId",this.liveUserId.get(1).getLiveUserId());
Response response = network.getResponse(params,BasicConfig.MOBILE_getClueDetail); Response response = network.getResponse(params,BasicConfig.MOBILE_getClueDetail);
System.out.println(response.body().asString()); System.out.println(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