Commit 80e42331 authored by 郭姣's avatar 郭姣

集客助手上传链接接口修改

parent fb636a3c
...@@ -30,7 +30,7 @@ public class Upload implements Authorization { ...@@ -30,7 +30,7 @@ public class Upload implements Authorization {
Map<String,Object> params = new HashMap<>(); Map<String,Object> params = new HashMap<>();
params.put("type",1); params.put("type",1);
Response response = network.getResponse(params,Daily_getHomeConf); Response response = network.getResponse(params,Daily_getHomeConf);
Object resourceLocatorName = response.jsonPath().getJsonObject("data.get(4).resourceLocatorName"); Object resourceLocatorName = response.jsonPath().getJsonObject("data.get(3).resourceLocatorName");
Assert.assertEquals(resourceLocatorName,"上传链接", network.message(params,Daily_getHomeConf,"获取上传链接配置失败",response.body().asString())); Assert.assertEquals(resourceLocatorName,"上传链接", network.message(params,Daily_getHomeConf,"获取上传链接配置失败",response.body().asString()));
} }
@Test(description = "爬虫支持的域名",priority = 2) @Test(description = "爬虫支持的域名",priority = 2)
......
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