Commit d34ad305 authored by xiamengchen's avatar xiamengchen

新增我的客户

parent d54a8ec8
......@@ -21,9 +21,6 @@ public class ForwardAndRead implements Authorization {
private String visitId;
private String insuranceId;
private String forwardTime;
private String activityConfId;
private String lottery_scId;
private String activityCustomPrizeId;
@BeforeClass
public void setUp() throws IOException{
......@@ -99,36 +96,6 @@ public class ForwardAndRead implements Authorization {
Assert.assertEquals(data, "success", network.message(param, BasicConfig.SELLERCARD_SENDPUSHFORSCAN, "领取赠险失败", response.body().asString()));
}
// @Test(description = "访客阅读抽奖工具", priority = 5)
// public void 参与抽奖() throws IOException{
// param = new HashMap<>();
// param.put("scid", lottery_scId);
// param.put("bizNo", activityConfId);
// param.put("from", 0);
// response = network.getResponse(param, BasicConfig.CONTENT_READ);
// String visitId = response.jsonPath().getString("data.visitId");
// }
//
// @Test(description = "点击抽奖", priority = 6)
// public void 点击抽奖() throws IOException{
// param = new HashMap<>();
// param.put("id", activityCustomPrizeId);
// param.put("scid", lottery_scId);
// param.put("activityConfId", activityConfId);
// response = network.postResponse(param, )
// }
// // 访客增加访问记录
// @Test(description = "增加动态访问记录", priority = 5)
// public void 增加动态访问记录() throws IOException{
// param = new HashMap<>();
// param.put("scid", articleScId);
// param.put("forwardTime", forwardTime);
// response = network.postResponse(param, BasicConfig.DYNAMIC_ADDVISIT);
// Assert.assertTrue(response.jsonPath().getBoolean("success"), network.message(param, BasicConfig.DYNAMIC_ADDVISIT, "接口请求失败", response.body().asString()));
// Assert.assertTrue(response.jsonPath().getBoolean("data"), network.message(param, BasicConfig.DYNAMIC_ADDVISIT, "增加访问记录失败", response.body().asString()));
// }
@Test(description = "访客转发文章", priority = 5)
public void 访客转发文章() throws IOException{
param = new HashMap<>();
......
......@@ -319,7 +319,6 @@ public class WhoSawMe implements Authorization {
param = new HashMap<>();
param.put("sids", sids);
response = network.postResponse(param, BasicConfig.MEMBERREMOVE);
System.out.println(response.body().asString());
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data, network.message(param, BasicConfig.MEMBERREMOVE, "删除成员失败", 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