1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

Update Review.php

This commit is contained in:
Anyon 2019-08-15 14:44:04 +08:00
parent 20c2235cb7
commit b89781f8b5

@ -35,7 +35,8 @@ class Review extends Controller
*/
public function news($id = 0)
{
$this->news = MediaService::news(empty($id) ? input('id') : $id);
$this->id = empty($id) ? input('id') : $id;
$this->news = MediaService::news($this->id);
$this->fetch();
}