From b8961f178740f99ce54cfcbfd88235eaf8b79872 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 12 Dec 2025 18:59:02 +0800
Subject: [PATCH] 保证金和年卡放同一个页面
---
admin/app/branch/controller/file/Upload.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/admin/app/branch/controller/file/Upload.php b/admin/app/branch/controller/file/Upload.php
index a591f9f..b0a4897 100644
--- a/admin/app/branch/controller/file/Upload.php
+++ b/admin/app/branch/controller/file/Upload.php
@@ -40,8 +40,10 @@
// 生成缩略图并获取原图路径
$originalName = '';
- $file_type == 'image' && $originalName = $StorageDriver->createThumb($saveName, true);
+ if($config['default']!='aliyun' && $file_type == 'image'){
+ $originalName = $StorageDriver->createThumb($saveName, true);
+ }
// 图片上传路径
$fileName = $StorageDriver->getFileName();
--
Gitblit v1.9.2