提交 2ce601db 编写于 作者: shuzheng5201314's avatar shuzheng5201314

规范url

上级 2a6b207c
......@@ -25,7 +25,7 @@ public class ManageController extends BaseController {
* @return
*/
@ApiOperation(value = "后台首页")
@RequestMapping(value = {"", "/index"}, method = RequestMethod.GET)
@RequestMapping(value = "/index", method = RequestMethod.GET)
public String index() {
return "/manage/index";
}
......
......@@ -12,6 +12,6 @@
<title>首页</title>
</head>
<body>
<a href="${basePath}/manage">后台首页</a>
<a href="${basePath}/manage/index">后台首页</a>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册