|
@@ -142,7 +142,7 @@ public class ArticleController extends BaseController {
|
|
CmsUtils.addViewConfigAttribute(model, article.getCategory());
|
|
CmsUtils.addViewConfigAttribute(model, article.getCategory());
|
|
return "modules/cms/articleForm";
|
|
return "modules/cms/articleForm";
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 保存文章表
|
|
* 保存文章表
|
|
*/
|
|
*/
|
|
@@ -189,4 +189,11 @@ public class ArticleController extends BaseController {
|
|
return renderResult(Global.TRUE, text("删除文章表成功!"));
|
|
return renderResult(Global.TRUE, text("删除文章表成功!"));
|
|
}
|
|
}
|
|
|
|
|
|
-}
|
|
|
|
|
|
+ @RequestMapping(value = "deskData")
|
|
|
|
+ public List<Article> deskData(Article article) {
|
|
|
|
+ return articleService.findList(article);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+}
|