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
dca41b4a
Commit
dca41b4a
authored
Jul 28, 2021
by
xiamengchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码存档
parent
6b5824ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
82 deletions
+50
-82
Authorization.java
src/test/java/com/kjj/cases/admin/Authorization.java
+50
-82
No files found.
src/test/java/com/kjj/cases/admin/Authorization.java
View file @
dca41b4a
...
...
@@ -20,9 +20,8 @@ public interface Authorization {
System
.
out
.
println
(
"用户AUTH_KEY:"
+
ADMIN_KEY
);
}
/**
* 集客助手授权
* 集客助手
相关
授权
*/
//代理人
default
void
agentTku
()
{
...
...
@@ -38,223 +37,192 @@ public interface Authorization {
}
// 获取访客tku
// 获取访客tku:Su Yi
default
void
userTku
()
{
network
.
agentCookies
.
put
(
"tku"
,
VISITOR_UserTku
);
System
.
out
.
println
(
"访客tku:"
+
VISITOR_UserTku
);
}
// 获取访客tku:请勿打扰
default
void
userTku1
()
{
network
.
agentCookies
.
put
(
"tku"
,
VISITOR_TKU
);
System
.
out
.
println
(
"访客tku:"
+
VISITOR_TKU
);
}
// 获取访客tku:小雪人
default
void
userTku2
()
{
network
.
agentCookies
.
put
(
"tku"
,
VISITOR1_TKU
);
System
.
out
.
println
(
"访客tku:"
+
VISITOR1_TKU
);
}
/**
*
代理人(yl)授权,ID:826
*
直播业务相关
*/
//代理人(yl)授权,ID:826
default
void
agentAuth
(){
// 创建用户 并传到network里
network
.
agentCookies
.
put
(
"authKey"
,
AUTH_KEY
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
AUTH_KEY
);
}
/**
* 代理人(小疙瘩人寿)授权,ID:995
*/
//代理人(小疙瘩人寿)授权,ID:995
default
void
agentAuth1
(){
// 创建用户 并传到network里
network
.
agentCookies
.
put
(
"authKey"
,
agentAuth
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
agentAuth
);
}
/**
* 访客A(志勇)授权,代理人指定中奖用户,ID:107
*/
//访客A(志勇)授权,代理人指定中奖用户,ID:107
default
void
visitorAuth
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth
);
}
/**
* 访客B(茶仔)授权,用户ID:122
*/
//访客B(茶仔)授权,用户ID:122
default
void
visitorAuth2
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth2
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth2
);
}
/**
* 访客C(刘超)授权,地域指定用户ID:811
*/
//访客C(刘超)授权,地域指定用户ID:811
default
void
visitorAuth3
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth3
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth3
);
}
/**
* 访客D(李执)授权,地域指定用户ID:89
*/
//访客D(李执)授权,地域指定用户ID:89
default
void
visitorAuth4
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth4
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth4
);
}
/**
* 访客E(周成)授权,企业指定中奖用户,用户ID:812
*/
//访客E(周成)授权,企业指定中奖用户,用户ID:812
default
void
visitorAuth5
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth5
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth5
);
}
/**
* 访客F(新强)授权,用户ID:82
*/
//访客F(新强)授权,用户ID:82
default
void
visitorAuth6
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth6
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth6
);
}
/**
* 访客G(熊二)授权,黑名单用户,ID:719
*/
//访客G(熊二)授权,黑名单用户,ID:719
default
void
visitorAuth7
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth7
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth7
);
}
/**
* 访客I(熊大)授权 ID:1239
*/
//访客I(熊大)授权 ID:1239
default
void
visitorAuth8
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth8
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth8
);
}
/**
* 访客H(吉吉)非实名用户授权,ID:907
*/
//访客H(吉吉)非实名用户授权,ID:907
default
void
visitorAuth9
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth9
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth9
);
}
/**
* 访客J(日落)授权,ID:703
*/
//访客J(日落)授权,ID:703
default
void
visitorAuth10
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth10
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth10
);
}
/**
* 访客K(沈小四)授权,ID:108
*/
//访客K(沈小四)授权,ID:108
default
void
visitorAuth11
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth11
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth11
);
}
/**
* 访客L(饺子)授权,ID:97
*/
//访客L(饺子)授权,ID:97
default
void
visitorAuth12
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth12
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth12
);
}
/**
* 访客M(大妹子)非实名用户授权,ID:299
*/
//访客M(大妹子)非实名用户授权,ID:299
default
void
visitorAuth13
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth13
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth13
);
}
/**
* 访客N(光头强)非实名用户授权,ID:540
*/
//访客N(光头强)非实名用户授权,ID:540
default
void
visitorAuth14
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth14
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth14
);
}
/**
* 访客O(少侠)授权,ID:79
*/
//访客O(少侠)授权,ID:79
default
void
visitorAuth15
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth15
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth15
);
}
/**
* 访客P(抬头有飞碟)授权,ID:99
*/
//访客P(抬头有飞碟)授权,ID:99
default
void
visitorAuth16
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth16
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth16
);
}
/**
* 访客Q(枫城)授权,ID:77
*/
//访客Q(枫城)授权,ID:77
default
void
visitorAuth17
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth17
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth17
);
}
/**
* 访客R(小老弟来了)非实名用户授权,ID:94
*/
//访客R(小老弟来了)非实名用户授权,ID:94
default
void
visitorAuth18
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth18
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth18
);
}
/**
* 访客T(林国芸)ID:786
*/
//访客T(林国芸)ID:786
default
void
visitorAuth19
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth19
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth19
);
}
/**
* 访客Y(孙心桂)ID:785
*/
//访客Y(孙心桂)ID:785
default
void
visitorAuth20
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth20
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth20
);
}
/**
* 访客W(谢翊美)ID:791
*/
//访客W(谢翊美)ID:791
default
void
visitorAuth21
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth21
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth21
);
}
/**
* 访客V(zzz666)ID:849
*/
//访客V(zzz666)ID:849
default
void
visitorAuth22
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth22
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth22
);
}
/**
* 访客u(七凉)ID:179
*/
//访客u(七凉)ID:179
default
void
visitorAuth23
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth23
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth23
);
}
/**
* 访客S(奶汪)ID:1170 实名
*/
//访客S(奶汪)ID:1170 实名
default
void
visitorAuth24
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth24
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth24
);
}
/**
* 访客S(亦心)ID:96 实名
*/
//访客S(亦心)ID:96 实名
default
void
visitorAuth25
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth25
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth25
);
...
...
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