问题
用thymeleaf写页面,想要访问的时候发现一直返回/index字符串,而不是预期的index.html页面
package com.example.demo01.controller;
import com.example.demo01.entity.DiscussPost;
import com.example.demo01.entity.User;
import com.example.demo01.service.DiscussPostService;
import com.example.demo01.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;