Commit b7bbdbda authored by 蔡闯's avatar 蔡闯

2021-2-7

parent 03734d37
......@@ -35,15 +35,13 @@ class News extends Base{
public function detailNews() {
$news_id = Request::param('news_id');
$data = Db::name('news')->where(['news_id'=>$news_id])->find();
if($data){
if($data !== false){
return $this->returnJson(Common::changeField($data));
} else {
return $this->returnJson();
}
}
//公告详情
public function detailNotice() {
$notice_id = Request::param('notice_id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment