This commit is contained in:
777
2026-01-12 20:56:48 +08:00
parent f8dfaad63b
commit 29701e9e15
3 changed files with 21 additions and 0 deletions

View File

@@ -6,4 +6,5 @@ import lombok.Data;
public class DrawBaseConfigResp {
private boolean openDraw;
private Integer drawPoint;
private String drawText;
}

View File

@@ -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"),
/**
* 域名配置
*/

View File

@@ -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;
}