Update Review.php

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

View File

@ -35,7 +35,8 @@ class Review extends Controller
*/ */
public function news($id = 0) 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(); $this->fetch();
} }