Commit 67f57add authored by 龚小红's avatar 龚小红

增加获取工资专区素材标签

parent 62339b22
...@@ -332,10 +332,17 @@ public class HomePage implements Authorization { ...@@ -332,10 +332,17 @@ public class HomePage implements Authorization {
String infoDesc = response.jsonPath().getString("desc"); String infoDesc = response.jsonPath().getString("desc");
Assert.assertEquals(infoDesc,"OK",network.message(params,MANAGER_simpleInfo,"匹配内容失败",response.body().asString())); Assert.assertEquals(infoDesc,"OK",network.message(params,MANAGER_simpleInfo,"匹配内容失败",response.body().asString()));
//获取生效的公司专区素材id
params.clear();
response = network.getResponse(params,MANAGER_manage);
int index = response.jsonPath().getInt("data.list[2].parentTagList.size()")-1;
int tag = response.jsonPath().getJsonObject("data.list[2].parentTagList.get("+index+").id");
Assert.assertNotNull(tag,network.message(params,MANAGER_simpleInfo,"匹配内容失败",response.body().asString()));
//新增公司专区内容 //新增公司专区内容
Map<String,Object> addParams = new HashMap<>(); Map<String,Object> addParams = new HashMap<>();
List list = new ArrayList(); List list = new ArrayList();
list.add(589); list.add(tag);
List tagList = new ArrayList(); List tagList = new ArrayList();
tagList.add(list); tagList.add(list);
addParams.put("contentTag",""); addParams.put("contentTag","");
......
...@@ -1166,6 +1166,7 @@ public class BasicConfig { ...@@ -1166,6 +1166,7 @@ public class BasicConfig {
public static final String MANAGER_exclusiveItemDel = MANAGER_HOST + "/kjy/manager/exclusiveItem/del"; public static final String MANAGER_exclusiveItemDel = MANAGER_HOST + "/kjy/manager/exclusiveItem/del";
public static final String MANAGER_searchCompany = MANAGER_HOST + "/kjy/manager/live/company/search"; public static final String MANAGER_searchCompany = MANAGER_HOST + "/kjy/manager/live/company/search";
public static final String MANAGER_liveList = MANAGER_HOST + "/kjy/manager/live/list"; public static final String MANAGER_liveList = MANAGER_HOST + "/kjy/manager/live/list";
public static final String MANAGER_manage = MANAGER_HOST + "/kjy/manager/tag/manage";
// 企业后台 // 企业后台
public static final String MANAGER_corp_saveCorp = MANAGER_HOST + "/kjy/manager/corp/company/saveOrUpdate"; public static final String MANAGER_corp_saveCorp = MANAGER_HOST + "/kjy/manager/corp/company/saveOrUpdate";
......
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