From 53e64865142fc483c84fc5d0c4a0d1a06ab9e929 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 20 Dec 2019 11:28:16 +0800 Subject: [PATCH] Update Upload.php --- app/admin/controller/api/Upload.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/admin/controller/api/Upload.php b/app/admin/controller/api/Upload.php index a36b27f79..81750f653 100644 --- a/app/admin/controller/api/Upload.php +++ b/app/admin/controller/api/Upload.php @@ -31,7 +31,7 @@ class Upload extends Controller /** * 上传安全检查 - * @throws \think\Exception + * @login true * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException @@ -44,6 +44,7 @@ class Upload extends Controller /** * 检查文件上传已经上传 + * @login true * @throws \think\Exception * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException @@ -76,6 +77,7 @@ class Upload extends Controller /** * 文件上传入口 + * @login true * @return \think\response\Json * @throws \think\Exception * @throws \think\db\exception\DataNotFoundException