Commit feeff133 authored by 龚小红's avatar 龚小红

修复猜数字红包解析实体类列表报错问题

parent 892dc44f
......@@ -739,7 +739,7 @@ public class SaveLive implements Authorization {
Map<String, Object> listParam = new HashMap<>();
listParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
Response response = network.getResponse(listParam, BasicConfig.MANAGER_list_1);
List<GuessList> list = JsonUtil.parseResponseToListBean(response, GuessList.class);
List<GuessList> list = JsonUtil.parseResponsePathToListBean(response,"data.list", GuessList.class);
System.out.println(list);
this.confId = list;
Assert.assertNotNull(list, network.message(listParam, BasicConfig.MANAGER_list_1, "查询猜数字红包列表失败", response.body().asString()));
......
......@@ -266,6 +266,7 @@ public class GoldenEgg implements Authorization {
@Test(description = "第3个访客C砸金蛋砸出实物", priority = 13)
public void 3个访客C砸金蛋砸出实物() {
visitorAuth3();
sleep(2000);
Map<String, Object> chooseAwardParam = new HashMap<>();
chooseAwardParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
chooseAwardParam.put("treasureConfId",ConfId);
......
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