From eb4395ddc03dfba80ba7c502008d19e0f1a70c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 10 May 2021 12:48:18 +0800 Subject: [PATCH] Update View.php --- app/wechat/controller/api/View.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(); } - }