规范url
This commit is contained in:
parent
2a6b207ca7
commit
2ce601dbec
|
@ -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>
|
Loading…
Reference in New Issue