123
This commit is contained in:
@@ -6,4 +6,5 @@ import lombok.Data;
|
||||
public class DrawBaseConfigResp {
|
||||
private boolean openDraw;
|
||||
private Integer drawPoint;
|
||||
private String drawText;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,24 @@ public enum SystemConfigEnum {
|
||||
WOMEN_DRAW_POINT("100","女用户抽奖分数",SystemConfigGroupEnum.DRAW,new NumberSystemConfigCheck()),
|
||||
MEN_DRAW_POINT("100","男用户抽奖分数",SystemConfigGroupEnum.DRAW,new NumberSystemConfigCheck()),
|
||||
MAX_POINT_DAY("0","用户每日可获取最大积分,0表示不限制",SystemConfigGroupEnum.DRAW,new NumberSystemConfigCheck()),
|
||||
DRAW_DIALOG_TEXT("当日邀请5个新用户充值:奖励108\n" +
|
||||
"当日邀请10个新用户充值:奖励168\n" +
|
||||
"当日邀请20个新用户充值:奖励288\n" +
|
||||
"当日邀请30个新用户充值:奖励388\n" +
|
||||
"当日邀请50个新用户充值:奖励588\n" +
|
||||
"注:必须是当日邀请 当日充值。发现刷单的一律封号 不给予提现\n" +
|
||||
"《凌晨12点之后联系平台客服领取》\n" +
|
||||
"当日邀请榜单活动(发现刷单的一律封号不给予提现)\n" +
|
||||
"第一名:1888\n" +
|
||||
"第二名:999\n" +
|
||||
"第三名:555\n" +
|
||||
"第四名:308\n" +
|
||||
"第五名:188\n" +
|
||||
"第六名至十名:108\n" +
|
||||
"注:(开服期间邀请充值奖励百分之40)\n" +
|
||||
"魅力榜,邀请榜、日榜、周榜双榜奖励!!!\n" +
|
||||
"单笔充值120送普通会员\n" +
|
||||
"单笔充值300送超级会员", "抽奖说明",SystemConfigGroupEnum.BUSINESS,null,"textarea"),
|
||||
/**
|
||||
* 域名配置
|
||||
*/
|
||||
|
||||
@@ -37,6 +37,8 @@ public class DrawService {
|
||||
resp.setOpenDraw(openDraw);
|
||||
Integer drawPoint = this.getDrawPoint(minUser.getGender());
|
||||
resp.setDrawPoint(drawPoint);
|
||||
String drawText = systemConfigManager.getSystemConfig(SystemConfigEnum.DRAW_DIALOG_TEXT);
|
||||
resp.setDrawText(drawText);
|
||||
return resp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user