|
@@ -82,6 +82,11 @@ public class TencentMiniGameLogController {
|
|
|
throw new BaseException("回传金额错误!");
|
|
|
}
|
|
|
});
|
|
|
+ if (dto.getBetweenMinuteMin() == null || dto.getBetweenMinuteMax() == null
|
|
|
+ || dto.getBetweenMinuteMin() < 1 || dto.getBetweenMinuteMax() < 1
|
|
|
+ || dto.getBetweenMinuteMin().compareTo(dto.getBetweenMinuteMax()) >= 0) {
|
|
|
+ throw new BaseException("回传间隔时间错误!");
|
|
|
+ }
|
|
|
} else {
|
|
|
if (dto.getBackMoney().compareTo(BigDecimal.ZERO) <= 0) {
|
|
|
throw new BaseException("回传金额错误!");
|