首页SEO优化

This commit is contained in:
xiaoyang
2021-05-28 11:51:11 +08:00
parent 9de47ce697
commit d6c0337c09
52 changed files with 134 additions and 3278 deletions

View File

@ -77,7 +77,8 @@ public class PageController extends BaseController {
* 首页
*/
@RequestMapping(path = {"/", "/index", "/index.html"})
public String index() {
public String index(Model model) {
model.addAttribute("bookMap",bookService.listBookSettingVO());
return ThreadLocalUtil.getTemplateDir() + "index";
}