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
1f402be2
Commit
1f402be2
authored
Oct 13, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提交中奖地址用例
parent
0feab100
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
GoldenEgg.java
src/test/java/com/kjj/cases/live/treasure/GoldenEgg.java
+4
-4
No files found.
src/test/java/com/kjj/cases/live/treasure/GoldenEgg.java
View file @
1f402be2
...
...
@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization {
visitorAuth
();
ThreadSleepUtils
.
sleep
(
1000
);
Map
<
String
,
Object
>
locationResultParam
=
new
HashMap
<>();
locationResultParam
.
put
(
"liveId"
,
"Kj21NTE3Mjc"
);
locationResultParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
())
);
locationResultParam
.
put
(
"scene"
,
1
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
System
.
out
.
println
(
locationResultRes
.
body
().
asString
());
...
...
@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization {
region
.
add
(
"杭州市"
);
region
.
add
(
"西湖区"
);
Map
<
String
,
Object
>
submitInfoParam
=
new
HashMap
<>();
submitInfoParam
.
put
(
"liveId"
,
"Kj21NTE3Mjc"
);
submitInfoParam
.
put
(
"confId"
,
"Kj20NjIwNTY3"
);
submitInfoParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
())
);
submitInfoParam
.
put
(
"confId"
,
interactConfId
);
submitInfoParam
.
put
(
"winnerName"
,
"中奖人"
);
submitInfoParam
.
put
(
"region"
,
region
);
submitInfoParam
.
put
(
"location"
,
"西湖区数娱大厦"
);
...
...
@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization {
visitorAuth
();
ThreadSleepUtils
.
sleep
(
1000
);
Map
<
String
,
Object
>
locationResultParam
=
new
HashMap
<>();
locationResultParam
.
put
(
"liveId"
,
"Kj21NTE3Mjc"
);
locationResultParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
())
);
locationResultParam
.
put
(
"scene"
,
1
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
System
.
out
.
println
(
locationResultRes
.
body
().
asString
());
...
...
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