Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
67f57add
Commit
67f57add
authored
Nov 10, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加获取工资专区素材标签
parent
62339b22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
HomePage.java
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
+8
-1
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+1
-0
No files found.
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
View file @
67f57add
...
@@ -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"
,
""
);
...
...
src/test/java/com/kjj/config/BasicConfig.java
View file @
67f57add
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment