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
1a1c4ca7
Commit
1a1c4ca7
authored
Mar 16, 2021
by
张震
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改boss看板tku
parent
900651c2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
15 deletions
+8
-15
Boss.java
src/test/java/com/kjj/cases/basics/Boss.java
+0
-12
GreetingCard.java
src/test/java/com/kjj/cases/basics/GreetingCard.java
+1
-1
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+7
-2
No files found.
src/test/java/com/kjj/cases/basics/Boss.java
View file @
1a1c4ca7
...
...
@@ -57,18 +57,6 @@ public class Boss {
}
//代理人有无上下级判断;
@Test
(
description
=
"当前代理人角色判断"
,
priority
=
3
)
public
void
当前代理人角色判断
()
throws
IOException
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"sellerId"
,
sellerId
);
Response
response
=
network
.
getResponse
(
params
,
BOSS_ROLE
);
boolean
hasSubordinate
=
response
.
jsonPath
().
getBoolean
(
"data.hasSubordinate"
);
//判断是否有下级
boolean
hasSuperior
=
response
.
jsonPath
().
getBoolean
(
"data.hasSuperior"
);
//判断是否有上级
Assert
.
assertFalse
(
hasSubordinate
,
network
.
message
(
params
,
BOSS_ROLE
,
"暂无下级"
,
response
.
body
().
asString
()));
Assert
.
assertFalse
(
hasSuperior
,
network
.
message
(
params
,
BOSS_ROLE
,
"暂无上级"
,
response
.
body
().
asString
()));
}
//分享链接邀请下级加入
@Test
(
description
=
"邀请成员加入"
,
priority
=
4
)
public
void
邀请成员加入
()
throws
IOException
{
...
...
src/test/java/com/kjj/cases/basics/GreetingCard.java
View file @
1a1c4ca7
...
...
@@ -122,6 +122,6 @@ public class GreetingCard {
apiCount
+=
8
;
// 删除账号
BaseUtils
.
disableUser
();
//
BaseUtils.disableUser();
}
}
src/test/java/com/kjj/config/BasicConfig.java
View file @
1a1c4ca7
...
...
@@ -4,7 +4,7 @@ public class BasicConfig {
public
static
int
apiCount
;
//接口数量统计
// 是否开启钉钉机器人推送
public
static
final
boolean
isPushReport
=
tru
e
;
//true
public
static
final
boolean
isPushReport
=
fals
e
;
//true
// 代理人微信昵称
public
static
final
String
WECHAT_NAME
=
"嘿保险"
;
//true
...
...
@@ -16,7 +16,7 @@ public class BasicConfig {
public
static
String
AUTH_KEY
=
null
;
// 代理人 TKU
public
static
String
AGENT_TKU
=
"T3gM31f18jCFEc
jx6v7mD76F8nif3vckMd7iDZzf5mTmhFD4xVkfSnFrAe9uMcqHr92ZAoir6Qfb3MnTR6
"
;
public
static
String
AGENT_TKU
=
"T3gM31f18jCFEc
foYxvVk1LsF5T1YkcBNDbUaryi3TgvwatuP6mroJjZ2k7iCHjC9Srujh7k311i3vFuZm
"
;
// 访客 TKU
public
static
String
VISITOR_TKU
=
"T3gM31f18jCGvqvoyJRzyMTdpcPDJWUJJP4VQje7p9sfHcRNmyhTEzEbfmwrGFy5doVEinb1k3SVwreYQE"
;
...
...
@@ -91,6 +91,11 @@ public class BasicConfig {
public
static
final
String
MOBILE_AgentEditCardInfo
=
MOBILE_HOST
+
"/kjy/live/agent/card/edit"
;
public
static
final
String
MOBILE_AgentPersonalCharts
=
MOBILE_HOST
+
"/kjy/live/agent/personalCharts"
;
public
static
final
String
MOBILE_TeamTeamCharts
=
MOBILE_HOST
+
"/kjy/live/team/teamCharts"
;
public
static
final
String
MOBILE_AgentPersonalTeamCharts
=
MOBILE_HOST
+
"/kjy/live/agent/personalTeamCharts"
;
...
...
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