Commit 1592ebb4 authored by 张艳玲's avatar 张艳玲

Merge branch '20210412bxl' into 'master'

有奖答题

See merge request test-group/kejiji!46
parents 94b01465 9c33f7aa
package com.kjj.bean.answer;
import lombok.Data;
@Data
public class AddAnswer {
private int totalAmount;
private int showAmount;
private int totalNum;
}
package com.kjj.bean.answer;
import lombok.Data;
@Data
public class AnswerQues {
private boolean result;
private int count;
}
package com.kjj.bean.answer;
import lombok.Data;
@Data
public class Option {
private String optionDetail;
private int optionType;
private int answerLen;
}
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;
}
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;
}
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;
}
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;
}
}
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;
}
}
package com.kjj.bean.answer;
import lombok.Data;
@Data
public class WelfareDetail {
private String rewardId;
private String rewardNum;
}
This diff is collapsed.
...@@ -138,7 +138,6 @@ public class BasicConfig { ...@@ -138,7 +138,6 @@ public class BasicConfig {
public static final String MOBILE_RedStart = MOBILE_HOST + "/conf/live/red/start"; 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_RedGetSimple = MOBILE_HOST + "/conf/live/red/getSimple";
public static final String MOBILE_RedSaveOrUpdate = MOBILE_HOST + "/conf/live/red/saveOrUpdate"; 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_FindRedList = MOBILE_HOST + "/clue/red/findRedList";
public static final String MOBILE_RedFindSimpleDetail = MOBILE_HOST + "/clue/red/findSimpleDetail"; 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"; public static final String MOBILE_RedHelpDetail = MOBILE_HOST + "/kjy/live/user/red/help/detail";
...@@ -152,8 +151,15 @@ public class BasicConfig { ...@@ -152,8 +151,15 @@ public class BasicConfig {
public static final String MOBILE_RedGetShareSign= MOBILE_HOST + "/kjy/live/getShareSign"; 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_RedLuckResult = MOBILE_HOST + "/clue/red/luckResultList";
public static final String MOBILE_RedLuckHelp = MOBILE_HOST + "/kjy/live/user/red/help"; 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_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";
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
</classes> </classes>
</test> </test>
<test preserve-order="true" name="访客券码领取"> <test preserve-order="true" name="访客券码领取">
<classes> <classes>
<class name="com.kjj.cases.live.User"/> <class name="com.kjj.cases.live.User"/>
...@@ -64,6 +63,11 @@ ...@@ -64,6 +63,11 @@
<class name="com.kjj.cases.live.LiveVistorRed"/> <class name="com.kjj.cases.live.LiveVistorRed"/>
</classes> </classes>
</test> </test>
<test preserve-order="true" name="有奖答题">
<classes>
<class name="com.kjj.cases.live.QuestionAwards"/>
</classes>
</test>
<test preserve-order="true" name="助播-结束直播"> <test preserve-order="true" name="助播-结束直播">
<classes> <classes>
<class name="com.kjj.cases.live.CloseLive"/> <class name="com.kjj.cases.live.CloseLive"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment