| | |
| | | dto.setTime(time);
|
| | | dto.setReason("红包产生、使用、赠送环节涉嫌违规");
|
| | | dto.setHandle("清空所有红包余额");
|
| | | userMoneyMsgNotificationService.redPackMsg(record.getUid(), MsgTypeMoneyTypeEnum.redPackForbid, new Gson().toJson(dto), "封禁信息无法申诉,请按照规则使用红包功能");
|
| | | userMoneyMsgNotificationService.redPackMsg(uid, MsgTypeMoneyTypeEnum.redPackForbid, new Gson().toJson(dto), "封禁无法申诉,请按照规则使用红包功能");
|
| | | }
|
| | |
|
| | |
|
| | |
| | | } catch (RedPackDetailException e) {
|
| | | throw new RedPackForbidException(1, e.getMsg());
|
| | | }
|
| | | |
| | | //消息
|
| | | MsgRedPackExchangeContentDTO dto = new MsgRedPackExchangeContentDTO();
|
| | | dto.setBalance(redPackBalanceService.getBalance(uid).setScale(2).toString());
|
| | | dto.setMoney(money.setScale(2).toString());
|
| | | dto.setReason("红包产生、使用、赠送环节涉嫌违规");
|
| | | userMoneyMsgNotificationService.redPackMsg(uid, MsgTypeMoneyTypeEnum.redPackDeduct, new Gson().toJson(dto), "扣除金额无法申诉,请按照规则获得红包");
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void delete(List<Long> idsList) {
|
| | | if (idsList != null)
|
| | | for (Long id : idsList)
|
| | | for (Long id : idsList) {
|
| | | redPackForbidMapper.deleteByPrimaryKey(id);
|
| | | //消息
|
| | | MsgRedPackExchangeContentDTO dto = new MsgRedPackExchangeContentDTO();
|
| | | dto.setReason("封禁时间到期,自动解封");
|
| | | dto.setTime("已可以重新使用红包功能");
|
| | | dto.setHandle("已被清空");
|
| | | userMoneyMsgNotificationService.redPackMsg(id, MsgTypeMoneyTypeEnum.redPackForbidRemove, |
| | | new Gson().toJson(dto), null);
|
| | | }
|
| | |
|
| | | }
|
| | |
|