From 7f5d19289ce2fecb6de89d0bd24b8e06910408ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Wed, 5 Jan 2022 16:45:51 +0000 Subject: [PATCH] =?UTF-8?q?!186=20=E4=BF=AE=E5=A4=8D=E4=B8=83=E7=89=9B?= =?UTF-8?q?=E4=BA=91=E8=AE=BE=E7=BD=AE=E3=80=90=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=AE=8C=E6=AF=95=E5=90=8E=EF=BC=8C=E5=9C=A8=E5=A4=9A?= =?UTF-8?q?=E5=B0=91=E5=A4=A9=E5=90=8E=E8=87=AA=E5=8A=A8=E8=A2=AB=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E3=80=91=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E6=89=8B?= =?UTF-8?q?=E6=AC=A0=E9=80=A0=E6=88=90=E7=9A=84=E3=80=82=20*=202022-01-5?= =?UTF-8?q?=20*=20=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E5=8D=95=E4=B8=AA=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=82=B9=E5=87=BB=E3=80=90=E5=8F=96=E6=B6=88=E3=80=91?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82#I4N4U2?= =?UTF-8?q?=20*=20##=201.2.7=EF=BC=882022-01-1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCms.Net.Services/Com/ToolsServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Services/Com/ToolsServices.cs b/CoreCms.Net.Services/Com/ToolsServices.cs index bdf2f8b..6bab58e 100644 --- a/CoreCms.Net.Services/Com/ToolsServices.cs +++ b/CoreCms.Net.Services/Com/ToolsServices.cs @@ -268,7 +268,7 @@ namespace CoreCms.Net.Services // 上传策略的过期时间(单位:秒) putPolicy.SetExpires(3600); // 文件上传完毕后,在多少天后自动被删除 - putPolicy.DeleteAfterDays = 1; + //putPolicy.DeleteAfterDays = 1; // 生成上传token string token = Qiniu.Util.Auth.CreateUploadToken(mac, putPolicy.ToJsonString()); @@ -426,7 +426,7 @@ namespace CoreCms.Net.Services // 上传策略的过期时间(单位:秒) putPolicy.SetExpires(3600); // 文件上传完毕后,在多少天后自动被删除 - putPolicy.DeleteAfterDays = 1; + //putPolicy.DeleteAfterDays = 1; // 生成上传token string token = Qiniu.Util.Auth.CreateUploadToken(mac, putPolicy.ToJsonString());