规范url

This commit is contained in:
shuzheng 2017-02-07 23:24:00 +08:00
parent 2a6b207ca7
commit 2ce601dbec
2 changed files with 2 additions and 2 deletions

View File

@ -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";
}

View File

@ -12,6 +12,6 @@
<title>首页</title>
</head>
<body>
<a href="${basePath}/manage">后台首页</a>
<a href="${basePath}/manage/index">后台首页</a>
</body>
</html>