Commit 3e333315 authored by 龚小红's avatar 龚小红

Merge branch '2021081902_gxh' into 'master'

更改配置底部互动的文章id

See merge request test-group/kejiji!102
parents bfc1d5f3 573f1104
......@@ -56,7 +56,7 @@ public class HomePage implements Authorization {
Response response = network.getResponse(params,HOME_getContentList);
Object obj = response.jsonPath().getJsonObject("data.list");
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);
//获取素材对应的scid
......
......@@ -26,9 +26,9 @@ public class LiveBefore implements Authorization {
int allNum = response.jsonPath().getInt("data.allNum");
Assert.assertTrue(allNum>0, network.message(params, BasicConfig.MOBILE_customerStat, "客户总数为null", response.body().asString()));
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");
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