mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
首页访问优化
This commit is contained in:
parent
c37e539cb4
commit
bddbe5f3b5
@ -31,7 +31,7 @@ public class IndexController {
|
||||
|
||||
|
||||
|
||||
@RequestMapping(value = {"/index.html","/","/books","/books/index.html"})
|
||||
@RequestMapping(value = {"/index.html","/","/books","/book","/book/index.html"})
|
||||
public String index(ModelMap modelMap){
|
||||
List<Book> recBooks = (List<Book>) commonCacheUtil.getObject(CacheKeyConstans.REC_BOOK_LIST_KEY);
|
||||
if (!indexRecBooksConfig.isRead() || recBooks == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user