充值寻宝-寻宝-积分提示域语
This commit is contained in:
@@ -957,6 +957,8 @@ public enum BusiStatus {
|
||||
DAILY_USER_SIGN_IN_EXIST(20514, "你今日已经签到"),
|
||||
DAILY_DEVICE_SIGN_IN_EXIST(20514, "该设备今日已经签到"),
|
||||
DAILY_IP_SIGN_IN_EXIST(20514, "该设备IP今日已经签到"),
|
||||
|
||||
CHARGE_TREASURE_ACT_NOT_ENOUGH_SCORE(500, "你的点数不足,快去完成冒险任务再打开宝藏吧!"),
|
||||
;
|
||||
|
||||
private final int value;
|
||||
|
@@ -98,7 +98,7 @@ public class ChargeTreasureActService {
|
||||
String monday = now.with(DayOfWeek.MONDAY).format(DateTimeUtil.dateFormatter);
|
||||
|
||||
if (!subScore(uid, monday, u.getPartitionId(), config.getPrice(), batch)){
|
||||
throw new ServiceException(BusiStatus.CHARGE_NOT_ENOUGH);
|
||||
throw new ServiceException(BusiStatus.CHARGE_TREASURE_ACT_NOT_ENOUGH_SCORE);
|
||||
}
|
||||
|
||||
return drawService.draw(config, uid, monday, partitionEnum.getId(), batch);
|
||||
|
Reference in New Issue
Block a user