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
1592ebb4
Commit
1592ebb4
authored
Apr 12, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '20210412bxl' into 'master'
有奖答题 See merge request test-group/kejiji!46
parents
94b01465
9c33f7aa
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
460 additions
and
3 deletions
+460
-3
AddAnswer.java
src/test/java/com/kjj/bean/answer/AddAnswer.java
+10
-0
AnswerQues.java
src/test/java/com/kjj/bean/answer/AnswerQues.java
+9
-0
Option.java
src/test/java/com/kjj/bean/answer/Option.java
+10
-0
ParticipateInfo.java
src/test/java/com/kjj/bean/answer/ParticipateInfo.java
+17
-0
QuesConf.java
src/test/java/com/kjj/bean/answer/QuesConf.java
+12
-0
QuseRewardList.java
src/test/java/com/kjj/bean/answer/QuseRewardList.java
+25
-0
RewardDetail.java
src/test/java/com/kjj/bean/answer/RewardDetail.java
+35
-0
RewardGetDetail.java
src/test/java/com/kjj/bean/answer/RewardGetDetail.java
+41
-0
WelfareDetail.java
src/test/java/com/kjj/bean/answer/WelfareDetail.java
+9
-0
QuestionAwards.java
src/test/java/com/kjj/cases/live/QuestionAwards.java
+279
-0
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+8
-2
liveTestNG.xml
src/test/liveTestNG.xml
+5
-1
No files found.
src/test/java/com/kjj/bean/answer/AddAnswer.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
@Data
public
class
AddAnswer
{
private
int
totalAmount
;
private
int
showAmount
;
private
int
totalNum
;
}
src/test/java/com/kjj/bean/answer/AnswerQues.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
@Data
public
class
AnswerQues
{
private
boolean
result
;
private
int
count
;
}
src/test/java/com/kjj/bean/answer/Option.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
@Data
public
class
Option
{
private
String
optionDetail
;
private
int
optionType
;
private
int
answerLen
;
}
src/test/java/com/kjj/bean/answer/ParticipateInfo.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
@Data
public
class
ParticipateInfo
{
private
boolean
result
;
private
int
count
;
private
int
quesType
;
private
String
amount
;
private
int
redReStatus
;
private
int
welfareStatus
;
private
String
rewardName
;
private
String
rewardImg
;
private
String
winnerName
;
}
src/test/java/com/kjj/bean/answer/QuesConf.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
QuesConf
{
private
String
questionDetail
;
private
List
<
Option
>
optionList
;
private
String
id
;
}
src/test/java/com/kjj/bean/answer/QuseRewardList.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
QuseRewardList
{
private
List
<
QuesList
>
list
;
@Data
public
static
class
QuesList
{
private
String
quesConfId
;
private
String
question
;
private
int
quesType
;
private
int
num
;
private
int
amount
;
private
int
showAmount
;
private
String
rewardName
;
private
int
rewardStatus
;
private
int
sendRedNum
;
private
int
drawDownNum
;
}
private
String
hasNext
;
}
src/test/java/com/kjj/bean/answer/RewardDetail.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
RewardDetail
{
private
String
quesConfId
;
private
String
quesType
;
private
RedDetail
redDetail
;
@Data
public
static
class
RedDetail
{
private
String
redConfId
;
private
int
showAmount
;
}
private
String
welfareDetail
;
private
int
quesRewardSeconds
;
private
String
quesRewardEndTime
;
private
int
rewardStatus
;
private
String
quesId
;
private
String
questionDetail
;
private
List
<
QuestionLists
>
questionList
;
@Data
public
static
class
QuestionLists
{
private
String
id
;
private
int
optionType
;
private
String
optionDetail
;
}
}
src/test/java/com/kjj/bean/answer/RewardGetDetail.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
RewardGetDetail
{
private
String
quesConfId
;
private
String
quesType
;
private
String
welfareDetail
;
private
RedDetail
redDetail
;
@Data
public
static
class
RedDetail
{
private
String
redConfId
;
private
int
showAmount
;
private
int
totalAmount
;
private
int
totalNum
;
}
private
QuestionConf
questionConf
;
@Data
public
static
class
QuestionConf
{
private
String
id
;
private
String
questionDetail
;
private
List
<
OptionList
>
optionList
;
}
@Data
public
static
class
OptionList
{
private
String
id
;
private
String
optionDetail
;
private
int
optionType
;
}
}
src/test/java/com/kjj/bean/answer/WelfareDetail.java
0 → 100644
View file @
1592ebb4
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
@Data
public
class
WelfareDetail
{
private
String
rewardId
;
private
String
rewardNum
;
}
src/test/java/com/kjj/cases/live/QuestionAwards.java
0 → 100644
View file @
1592ebb4
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
1592ebb4
...
...
@@ -138,7 +138,6 @@ public class BasicConfig {
public
static
final
String
MOBILE_RedStart
=
MOBILE_HOST
+
"/conf/live/red/start"
;
public
static
final
String
MOBILE_RedGetSimple
=
MOBILE_HOST
+
"/conf/live/red/getSimple"
;
public
static
final
String
MOBILE_RedSaveOrUpdate
=
MOBILE_HOST
+
"/conf/live/red/saveOrUpdate"
;
public
static
final
String
MOBILE_QuesSaveOrUpdate
=
MOBILE_HOST
+
"/conf/live/ques/reward/saveOrUpdate"
;
public
static
final
String
MOBILE_FindRedList
=
MOBILE_HOST
+
"/clue/red/findRedList"
;
public
static
final
String
MOBILE_RedFindSimpleDetail
=
MOBILE_HOST
+
"/clue/red/findSimpleDetail"
;
public
static
final
String
MOBILE_RedHelpDetail
=
MOBILE_HOST
+
"/kjy/live/user/red/help/detail"
;
...
...
@@ -152,8 +151,15 @@ public class BasicConfig {
public
static
final
String
MOBILE_RedGetShareSign
=
MOBILE_HOST
+
"/kjy/live/getShareSign"
;
public
static
final
String
MOBILE_RedLuckResult
=
MOBILE_HOST
+
"/clue/red/luckResultList"
;
public
static
final
String
MOBILE_RedLuckHelp
=
MOBILE_HOST
+
"/kjy/live/user/red/help"
;
public
static
final
String
MOBILE_QuesRewardList
=
MOBILE_HOST
+
"/conf/live/ques/reward/list"
;
public
static
final
String
MOBILE_OpenState
=
MOBILE_HOST
+
"/clue/red/open/state"
;
public
static
final
String
MOBILE_QuesSaveOrUpdate
=
MOBILE_HOST
+
"/conf/live/ques/reward/saveOrUpdate"
;
public
static
final
String
MOBILE_QuesRewardList
=
MOBILE_HOST
+
"/conf/live/ques/reward/list"
;
public
static
final
String
MOBILE_QuesRewardUp
=
MOBILE_HOST
+
"/conf/live/ques/reward/up"
;
public
static
final
String
MOBILE_QuesRewardStart
=
MOBILE_HOST
+
"/conf/live/ques/reward/start"
;
public
static
final
String
MOBILE_QuesRewardGetDetail
=
MOBILE_HOST
+
"/conf/live/ques/reward/getDetail"
;
public
static
final
String
MOBILE_QuesDetail
=
MOBILE_HOST
+
"/clue/ques/reward/detail"
;
public
static
final
String
MOBILE_QuesParticipate
=
MOBILE_HOST
+
"/clue/ques/reward/participate"
;
public
static
final
String
MOBILE_QuesParticipateInfo
=
MOBILE_HOST
+
"/clue/ques/reward/participateInfo"
;
...
...
src/test/liveTestNG.xml
View file @
1592ebb4
...
...
@@ -26,7 +26,6 @@
</classes>
</test>
<test
preserve-order=
"true"
name=
"访客券码领取"
>
<classes>
<class
name=
"com.kjj.cases.live.User"
/>
...
...
@@ -64,6 +63,11 @@
<class
name=
"com.kjj.cases.live.LiveVistorRed"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"有奖答题"
>
<classes>
<class
name=
"com.kjj.cases.live.QuestionAwards"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"助播-结束直播"
>
<classes>
<class
name=
"com.kjj.cases.live.CloseLive"
/>
...
...
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