暂时去除中奖手机
This commit is contained in:
parent
a4bc06a9ce
commit
7a486fd743
|
|
@ -167,6 +167,10 @@ public class DiscSpinningServiceImpl extends ServiceImpl<DiscSpinningDao, DiscSp
|
|||
}
|
||||
}
|
||||
|
||||
if (result.getName().contains("手机")) {
|
||||
throw new RuntimeException("抽奖数据异常,请稍后再试");
|
||||
}
|
||||
|
||||
DiscSpinningRecord record = new DiscSpinningRecord(result.getName(), sourceId, userId, result.getUrl(), result.getType(),
|
||||
result.getNumber(), DateUtils.formatYMD(new Date()), DateUtils.format(new Date()), source);
|
||||
recordService.save(record);
|
||||
|
|
|
|||
Loading…
Reference in New Issue