From d765fd29e940c0eab27e5aeb6ee1efa21112933e Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Wed, 12 Jan 2022 23:34:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=96=87=E4=BB=B6=E5=86=99?= =?UTF-8?q?=E5=85=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/v1/system/SystemFile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crmeb/app/adminapi/controller/v1/system/SystemFile.php b/crmeb/app/adminapi/controller/v1/system/SystemFile.php index 440b014b2..0d7292d8e 100644 --- a/crmeb/app/adminapi/controller/v1/system/SystemFile.php +++ b/crmeb/app/adminapi/controller/v1/system/SystemFile.php @@ -60,6 +60,8 @@ class SystemFile extends AuthController //保存文件 public function savefile() { + return app('json')->fail('请勿在生产环境使用,该接口存在危险性!!!');//如果开发环境,可以注释本行 + $comment = $this->request->param('comment'); $filepath = $this->request->param('filepath'); if(empty($comment) || empty($filepath)){