diff --git a/app/wechat/controller/api/View.php b/app/wechat/controller/api/View.php index b7a7aff0a..7899274aa 100644 --- a/app/wechat/controller/api/View.php +++ b/app/wechat/controller/api/View.php @@ -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\DbException * @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\DbException * @throws \think\db\exception\ModelNotFoundException @@ -104,5 +104,4 @@ class View extends Controller $this->title = strip_tags(input('title', ''), ''); $this->fetch(); } - }