package com.baidu.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.baidu.entity.ChildBoard;
import com.baidu.entity.Post;
import com.baidu.service.ChildBoardService;
import com.baidu.service.PostService;
import com.baidu.util.ConstantPageURL;

@Controller
public class PostController {

	
	@Autowired
	private ChildBoardService childBoardService;
	
	@Autowired
	private PostService postService;
	
	
	
	@RequestMapping(value="/manager/findChildBoardPost")
	@ResponseBody
	public List findChildBoardPost(int id){
		//根据子版块id查询帖子  集合
		List<Post> list = postService.findPostByBoardId(id);
		return list;
	}
	
}
最近下载更多
wouldbb  LV6 2023年3月25日
yanghanqiang  LV3 2023年2月17日
1342203642  LV10 2023年1月18日
超炫爱  LV2 2022年12月5日
molu123456 2022年11月15日
暂无贡献等级
yazhiyjs  LV4 2022年8月30日
拂袖云中  LV4 2022年6月17日
微信网友_5916966536499200  LV2 2022年4月15日
wanglinddad  LV54 2022年3月24日
你好啊李光庚  LV1 2022年3月21日
最近浏览更多
123123123W  LV7 1月22日
空中飞尘  LV13 2023年12月13日
1383838438  LV1 2023年11月15日
微信网友_6465435620184064  LV6 2023年10月24日
asssasa  LV1 2023年10月17日
唐钰小宝A  LV13 2023年9月12日
山东老马 2023年7月7日
暂无贡献等级
2267068802 2023年6月12日
暂无贡献等级
Antuz56  LV2 2023年6月6日
0011100  LV12 2023年5月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友