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
a16cadb3
Commit
a16cadb3
authored
Apr 20, 2021
by
别湘灵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代理人首页
parent
a84c7620
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
278 additions
and
78 deletions
+278
-78
AdminAuthorization.java
...est/java/com/kjj/cases/live/admin/AdminAuthorization.java
+15
-0
OpenLive.java
src/test/java/com/kjj/cases/live/anchor/OpenLive.java
+0
-5
LiveVistorRed.java
src/test/java/com/kjj/cases/live/red/LiveVistorRed.java
+157
-36
QuestionAwards.java
src/test/java/com/kjj/cases/live/red/QuestionAwards.java
+98
-37
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+8
-0
No files found.
src/test/java/com/kjj/cases/live/admin/AdminAuthorization.java
View file @
a16cadb3
...
...
@@ -73,5 +73,20 @@ public interface AdminAuthorization {
System
.
out
.
println
(
"用户AUTH_KEY:"
+
VISITORKEY6
);
}
/**
* 访客(熊二)授权
*/
default
void
visitorAuth7
()
{
network
.
agentCookies
.
put
(
"authKey"
,
VISITORKEY7
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
VISITORKEY7
);
}
/**
* 访客(喜洋洋)授权
*/
default
void
visitorAuth8
()
{
network
.
agentCookies
.
put
(
"authKey"
,
VISITORKEY8
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
VISITORKEY8
);
}
}
src/test/java/com/kjj/cases/live/anchor/OpenLive.java
View file @
a16cadb3
...
...
@@ -37,9 +37,4 @@ public class OpenLive implements AdminAuthorization {
Assert
.
assertNotNull
(
data
,
network
.
message
(
openParam
,
BasicConfig
.
ANCHOR_OPEN
,
"开启直播失败"
,
openRes
.
body
().
asString
()));
ThreadSleepUtils
.
sleep
(
10000
);
}
}
src/test/java/com/kjj/cases/live/red/LiveVistorRed.java
View file @
a16cadb3
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/cases/live/red/QuestionAwards.java
View file @
a16cadb3
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
a16cadb3
...
...
@@ -24,6 +24,11 @@ public class BasicConfig {
public
static
String
VISITORKEY5
=
"zFNkBc7JtvLPL6ifAfXbcgYH7WruadzDMUjR7buv4kTkfKtxsjyzHLTi7V9HNnQ7ia7Reb5rk5k11dFQPNSuMzsEMW"
;
//直播访客 (新强)
public
static
String
VISITORKEY6
=
"DyGoVEPj7nANppy7P8NS4Z4v3PAwxeqJodqYrmwYkoHYMsV4yAxbTXwZ5wWmGQTddQgxdWoNCmN43P8fzhcuWRmdE"
;
//直播访客 (熊二)
public
static
String
VISITORKEY7
=
"LEH7epeHVDJWzhZ6DiexTHnsy28pGo5XmzZG7KzUUKbJwaH84WuambhcvuhbKjYEBPivHr6LyYkQiCkh1fAg4BKKkJmoX"
;
//直播访客 (熊大)
public
static
String
VISITORKEY8
=
"LEH7epeHVDJWzhZ6DiexTHnsy28pGo5bL75Lr5VqnVBDBqZVAUZDaFbXuMHKrnKVvTa8qAQcvrVmqN9fxue59EMwYib7p"
;
// 基础线代理人 TKU
public
static
String
AGENT_TKU
=
"T3gM31f18jCFEcfoYxvVk1LsF5T1YkcBNDbUaryi3TgvwatuP6mroJjZ2k7iCHjC9Srujh7k311i3vFuZm"
;
// 基础线访客 TKU
...
...
@@ -126,6 +131,9 @@ public class BasicConfig {
public
static
final
String
MANAGER_rewardList
=
MANAGER_HOST
+
"/kjy/manager/live/ques/reward/list"
;
public
static
final
String
MANAGER_delete
=
MANAGER_HOST
+
"/kjy/manager/live/ques/reward/delete"
;
public
static
final
String
MANAGER_update
=
MANAGER_HOST
+
"/kjy/manager/live/ques/reward/update"
;
public
static
final
String
MANAGER_TreasureBenefits
=
MANAGER_HOST
+
"/kjy/manager/treasure/time/conf/list"
;
public
static
final
String
MANAGER_TreasureDetail
=
MANAGER_HOST
+
"/kjy/manager/treasure/time/conf/detail"
;
public
static
final
String
MANAGER_TreasureConUpdate
=
MANAGER_HOST
+
"/kjy/manager/treasure/time/conf/update"
;
// *************** 代理人 ***************
//代理人列表//
...
...
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