1
This commit is contained in:
@@ -345,7 +345,7 @@ public class BookChapterContentController {
|
||||
|
||||
UserEbookBuyEntity userEbookBuyEntity = userEbookBuyService.getBaseMapper().selectOne(new LambdaQueryWrapper<UserEbookBuyEntity>().
|
||||
eq(UserEbookBuyEntity::getUserId, userId).eq(UserEbookBuyEntity::getBookId, bookId));
|
||||
if (chapter_info.getNumber() > book_info.getFreeChapterCount() && userEbookBuyEntity == null) {
|
||||
if (book_info.getBookType()==0&&chapter_info.getNumber() > book_info.getFreeChapterCount() && userEbookBuyEntity == null) {
|
||||
Integer productByBookId = shopProductBookService.getProductByBookId(bookId);
|
||||
return R.ok().put("jq", false).put("product", productByBookId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user