|
|
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.ui.Model;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -33,7 +34,7 @@ public class IndexController extends BaseController {
|
|
|
@Autowired
|
|
|
private CmsTagService cmsTagService;
|
|
|
|
|
|
- @RequestMapping(value = {"", "/index"})
|
|
|
+ @RequestMapping(value = "", method = RequestMethod.GET)
|
|
|
public String index(Model model) {
|
|
|
// 菜单
|
|
|
CmsMenuExample cmsMenuExample = new CmsMenuExample();
|