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:
parent
20c2235cb7
commit
b89781f8b5
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user