From dc4984c6e5a7921e72e6946826b6b3a9c0ae8273 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Fri, 20 Sep 2024 16:48:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=B2=A1=E6=9C=89=E7=94=A8?= =?UTF-8?q?=E5=88=B0=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/shop/LocalStore.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/admin/controller/shop/LocalStore.php b/app/admin/controller/shop/LocalStore.php index 21aa6df5..d601d55e 100755 --- a/app/admin/controller/shop/LocalStore.php +++ b/app/admin/controller/shop/LocalStore.php @@ -150,19 +150,6 @@ class LocalStore extends AdminBase } } - public function delFile() - { - if ($this->request->isAjax()) { - $post = $this->request->post(); - $result = UploadAliOSS::delFile(LocalStoreLogic::$UPLOAD_PATH[$post['type']], $post['file']); - if ($result['code'] == 1) { - return JsonServer::success('上传成功', $result['data']); - } - - return JsonServer::error('上传失败'); - } - } - public function user() { if ($this->request->isAjax()) {