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
ca2bb3bf
Commit
ca2bb3bf
authored
Oct 13, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20211011-gxh' into 'master'
修改提交中奖地址用例 See merge request test-group/kejiji!134
parents
131275d6
1f402be2
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 @
ca2bb3bf
...
@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization {
...
@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization {
visitorAuth
();
visitorAuth
();
ThreadSleepUtils
.
sleep
(
1000
);
ThreadSleepUtils
.
sleep
(
1000
);
Map
<
String
,
Object
>
locationResultParam
=
new
HashMap
<>();
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
);
locationResultParam
.
put
(
"scene"
,
1
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
System
.
out
.
println
(
locationResultRes
.
body
().
asString
());
System
.
out
.
println
(
locationResultRes
.
body
().
asString
());
...
@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization {
...
@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization {
region
.
add
(
"杭州市"
);
region
.
add
(
"杭州市"
);
region
.
add
(
"西湖区"
);
region
.
add
(
"西湖区"
);
Map
<
String
,
Object
>
submitInfoParam
=
new
HashMap
<>();
Map
<
String
,
Object
>
submitInfoParam
=
new
HashMap
<>();
submitInfoParam
.
put
(
"liveId"
,
"Kj21NTE3Mjc"
);
submitInfoParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
())
);
submitInfoParam
.
put
(
"confId"
,
"Kj20NjIwNTY3"
);
submitInfoParam
.
put
(
"confId"
,
interactConfId
);
submitInfoParam
.
put
(
"winnerName"
,
"中奖人"
);
submitInfoParam
.
put
(
"winnerName"
,
"中奖人"
);
submitInfoParam
.
put
(
"region"
,
region
);
submitInfoParam
.
put
(
"region"
,
region
);
submitInfoParam
.
put
(
"location"
,
"西湖区数娱大厦"
);
submitInfoParam
.
put
(
"location"
,
"西湖区数娱大厦"
);
...
@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization {
...
@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization {
visitorAuth
();
visitorAuth
();
ThreadSleepUtils
.
sleep
(
1000
);
ThreadSleepUtils
.
sleep
(
1000
);
Map
<
String
,
Object
>
locationResultParam
=
new
HashMap
<>();
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
);
locationResultParam
.
put
(
"scene"
,
1
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
Response
locationResultRes
=
network
.
getResponse
(
locationResultParam
,
BasicConfig
.
USER_locationResult
);
System
.
out
.
println
(
locationResultRes
.
body
().
asString
());
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