Commit 56b95093 authored by xiamengchen's avatar xiamengchen

Merge branch 'master' into feature/live_kill

parents b3da835a 3e333315
...@@ -56,7 +56,7 @@ public class HomePage implements Authorization { ...@@ -56,7 +56,7 @@ public class HomePage implements Authorization {
Response response = network.getResponse(params,HOME_getContentList); Response response = network.getResponse(params,HOME_getContentList);
Object obj = response.jsonPath().getJsonObject("data.list"); Object obj = response.jsonPath().getJsonObject("data.list");
Assert.assertNotNull(obj, network.message(params,HOME_getContentList,"获取首页种草素材列表失败",response.body().asString())); Assert.assertNotNull(obj, network.message(params,HOME_getContentList,"获取首页种草素材列表失败",response.body().asString()));
grasscontentId = response.jsonPath().getString("data.list.get(0).contentId"); grasscontentId = response.jsonPath().getString("data.list.get(8).contentId");
articleId = decodingId(grasscontentId); articleId = decodingId(grasscontentId);
//获取素材对应的scid //获取素材对应的scid
......
...@@ -26,9 +26,9 @@ public class LiveBefore implements Authorization { ...@@ -26,9 +26,9 @@ public class LiveBefore implements Authorization {
int allNum = response.jsonPath().getInt("data.allNum"); int allNum = response.jsonPath().getInt("data.allNum");
Assert.assertTrue(allNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "客户总数为null", response.body().asString())); Assert.assertTrue(allNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "客户总数为null", response.body().asString()));
int newCustomNum = response.jsonPath().getInt("data.newCustomNum"); int newCustomNum = response.jsonPath().getInt("data.newCustomNum");
Assert.assertTrue(newCustomNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "新客户数量未null", response.body().asString())); Assert.assertTrue(newCustomNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "老客户数量为null", response.body().asString()));
int oldCustomNum = response.jsonPath().getInt("data.oldCustomNum"); int oldCustomNum = response.jsonPath().getInt("data.oldCustomNum");
Assert.assertTrue(oldCustomNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "老客户数量null", response.body().asString())); Assert.assertTrue(oldCustomNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "老客户数量null", 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