摘要: public function browse(){ $id = I('get.jour_id'); //新闻id $article = M('app_journalism')->where(['id'=>$id])->find(); if(!$article){ $this->success('未找 阅读全文
posted @ 2020-01-11 14:33 php毛宏历的博客 阅读(173) 评论(0) 推荐(0) 编辑
摘要: //新闻点赞public function praise(){ if (!is_login()) { $this->returnBack(2, '请先登录'); } $id = I('post.jour_id'); //新闻id $type = I('post.type'); //点赞状态 $art 阅读全文
posted @ 2020-01-11 14:31 php毛宏历的博客 阅读(488) 评论(0) 推荐(0) 编辑