|
@@ -181,6 +181,9 @@ public class TicketBoxMgrController extends BaseApiController {
|
|
|
return AjaxResult.error("每包张数必须大于0");
|
|
|
}
|
|
|
}
|
|
|
+ if (param.getAwardsList().size() <= 1) {
|
|
|
+ return AjaxResult.error("至少需要两个奖级");
|
|
|
+ }
|
|
|
String boxId = ticketBoxService.createTicketBox(param);
|
|
|
if (StringUtils.isNotBlank(boxId)) {
|
|
|
try {
|