|
@@ -71,4 +71,26 @@ public class RedirectController {
|
|
return "redirect:/maintenance/index.html";
|
|
return "redirect:/maintenance/index.html";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 文章列表【旧center】
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/info/center-{id}-1.html")
|
|
|
|
+ public String toArticleList(@PathVariable("id") Integer id) {
|
|
|
|
+ return "redirect:/article/list.html?type=" + id;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 文章列表【旧label】
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/info/label-{id}-1.html")
|
|
|
|
+ public String toArticleList2(@PathVariable("id") Integer id) {
|
|
|
|
+ return "redirect:/article/list.html?label=" + id;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * 文章详情【旧】
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/info/detail-{id}-1.html")
|
|
|
|
+ public String toArticleDetail(@PathVariable("id") Integer id) {
|
|
|
|
+ return "redirect:/article/detail.html?id=" + id;
|
|
|
|
+ }
|
|
}
|
|
}
|