|
@@ -37,7 +37,7 @@ public class ArticleController extends BaseController {
|
|
|
* 文章列表【旧center】
|
|
|
*/
|
|
|
@GetMapping("/info/center-{id}-{pageNum}.html")
|
|
|
- public String toArticleList(@PathVariable("id") Integer id, @PathVariable("id") Integer pageNum, final Model model) {
|
|
|
+ public String toArticleList(@PathVariable("id") Integer id, @PathVariable("pageNum") Integer pageNum, final Model model) {
|
|
|
List<BaseLink> typeList = articleService.getArticleTypes();
|
|
|
model.addAttribute("articleType", typeList);
|
|
|
model.addAttribute("typeId", id);
|
|
@@ -51,7 +51,7 @@ public class ArticleController extends BaseController {
|
|
|
* 文章列表【旧label】
|
|
|
*/
|
|
|
@GetMapping("/info/label-{id}-{pageNum}.html")
|
|
|
- public String toArticleLabel(@PathVariable("id") Integer id, @PathVariable("id") Integer pageNum, final Model model) {
|
|
|
+ public String toArticleLabel(@PathVariable("id") Integer id, @PathVariable("pageNum") Integer pageNum, final Model model) {
|
|
|
List<BaseLink> typeList = articleService.getArticleTypes();
|
|
|
model.addAttribute("articleType", typeList);
|
|
|
model.addAttribute("typeId", 0);
|