修改发红包提示语

This commit is contained in:
liaozetao
2023-10-31 15:51:18 +08:00
parent 24ab0d64c9
commit cbf3409a13

View File

@@ -256,7 +256,7 @@ public class RedEnvelopeService extends ServiceImpl<RedEnvelopeMapper, RedEnvelo
Long roomUid = request.getRoomUId();
List<RedEnvelope> validRedEnvelopes = getValidRedEnvelopes(roomUid);
if (CollectionUtil.isNotEmpty(validRedEnvelopes)) {
throw new ApiException("該房間存在未領取紅包");
throw new ApiException("當前房間內還有未搶完/未到期的紅包,暫時不能發出新紅包");
}
RedEnvelopeContext context = new RedEnvelopeContext();
context.setRoomUid(request.getRoomUId());