package top.wull.blog.action; import java.util.List; import javax.annotation.Resource; import com.opensymphony.xwork2.ActionSupport; import top.wull.blog.antity.Essay; import top.wull.blog.service.EssayService; import top.wull.blog.service.EssayTypeService; public class BaseAction extends ActionSupport { @Resource(name="essayTypeService") EssayTypeService ets ; @Resource(name="essayService") EssayService es ; Essay essay = new Essay(); /** * 点击最多的文章 * @return * @throws Exception */ public List<Essay> showMaxCountEssay() throws Exception { return es.getMaxCountEssay(); } /** * 最新的文章 * @return */ public List<Essay> newEssaylist(Integer i){ //System.out.println("ServletActionContext.getRequest()----"+ServletActionContext.getRequest().getRequestURI()); return es.getNewEssay(i); } }

and123456 LV11
2022年3月16日
wjh12345654321 LV14
2022年1月20日
864152530 LV5
2021年6月7日
iws2000 LV11
2021年5月20日
myzczx LV25
2021年4月9日
李海洋 LV12
2020年12月24日
lstudents LV1
2020年8月20日
wllwll LV4
2020年7月19日
kuluohua LV15
2020年6月14日
1224649005 LV6
2020年6月5日

krispeng LV14
2024年11月20日
abandan LV4
2023年11月6日
zhaobing_g LV3
2023年8月28日
tangyongheng08 LV6
2023年7月24日
getset LV8
2023年5月18日
acid6161
2023年4月21日
暂无贡献等级
lyhlyh LV10
2023年2月24日
微信网友_6328951600910336
2023年1月31日
暂无贡献等级
yohohero LV1
2023年1月14日
zxc131313 LV12
2022年12月9日