|
@@ -45,9 +45,9 @@ public class BookServiceImpl extends IBaseServiceImpl<BookEntity, Long> implemen
|
|
|
BookEntity entity = null;
|
|
|
if (id == null) {
|
|
|
|
|
|
- if (checkSize() > 5) {
|
|
|
- return Result.failure("轮播图最多为5个");
|
|
|
- }
|
|
|
+// if (checkSize() > 5) {
|
|
|
+// return Result.failure("轮播图最多为5个");
|
|
|
+// }
|
|
|
|
|
|
entity = new BookEntity();
|
|
|
BeanUtils.copyProperties(param, entity);
|