mirror of
https://github.com/201206030/novel-plus.git
synced 2025-04-26 17:20:52 +00:00
v2.0.0版本发布
This commit is contained in:
parent
a662f42bcf
commit
b8b074d40a
@ -141,7 +141,7 @@ public class PageController extends BaseController{
|
||||
BookContent bookContent = bookService.queryBookContent(bookIndex.getId());
|
||||
model.addAttribute("bookContent",bookContent);
|
||||
//判断该目录是否收费
|
||||
if(bookIndex.getIsVip() == 1){
|
||||
if(bookIndex.getIsVip()!=null && bookIndex.getIsVip() == 1 ){
|
||||
UserDetails user = getUserDetails(request);
|
||||
if(user == null){
|
||||
//未登录
|
||||
|
Loading…
x
Reference in New Issue
Block a user