Commit 68f0666b authored by 龚小红's avatar 龚小红

删除一个多余变量

parent ec5930a5
...@@ -28,7 +28,6 @@ public class greetingCrad implements Authorization{ ...@@ -28,7 +28,6 @@ public class greetingCrad implements Authorization{
public int userId; // 代理人用户ID public int userId; // 代理人用户ID
public Gift gift; //奖品 public Gift gift; //奖品
public String giftId; // 加密后的giftId public String giftId; // 加密后的giftId
public String visitId; // 加密后的visitId
@BeforeClass @BeforeClass
public void setUp(){ public void setUp(){
...@@ -533,7 +532,6 @@ public class greetingCrad implements Authorization{ ...@@ -533,7 +532,6 @@ public class greetingCrad implements Authorization{
Object data = response.jsonPath().getJsonObject("data"); Object data = response.jsonPath().getJsonObject("data");
Assert.assertTrue(success,network.message(params,CONTENT_READ,"接口返回失败",response.body().asString())); Assert.assertTrue(success,network.message(params,CONTENT_READ,"接口返回失败",response.body().asString()));
Assert.assertNotNull(data,network.message(params,CONTENT_READ,"获取访问贺卡记录失败",response.body().asString())); Assert.assertNotNull(data,network.message(params,CONTENT_READ,"获取访问贺卡记录失败",response.body().asString()));
visitId = response.jsonPath().getString("data.visitId");
params.clear(); params.clear();
params.put("scid",scid); params.put("scid",scid);
......
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