mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update View.php
This commit is contained in:
parent
e5a3816acb
commit
eb4395ddc0
@ -28,7 +28,7 @@ class View extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 图文列表展示
|
* 图文列表展示
|
||||||
* @param integer $id 图文ID编号
|
* @param string|integer $id 图文ID编号
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
@ -42,7 +42,7 @@ class View extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 文章内容展示
|
* 文章内容展示
|
||||||
* @param integer $id 文章ID编号
|
* @param string|integer $id 文章ID编号
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
@ -104,5 +104,4 @@ class View extends Controller
|
|||||||
$this->title = strip_tags(input('title', ''), '<a><img>');
|
$this->title = strip_tags(input('title', ''), '<a><img>');
|
||||||
$this->fetch();
|
$this->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user