From 3f5dc410e3afb81b2ef4fe5de700a3cae93e8f22 Mon Sep 17 00:00:00 2001 From: Liangwq <532504522@qq.com> Date: Fri, 22 May 2026 09:56:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=88=86=E6=94=AF=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExternalAPI_NET8/Controllers/DownloadController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExternalAPI_NET8/Controllers/DownloadController.cs b/ExternalAPI_NET8/Controllers/DownloadController.cs index 3c57a61..1477f51 100644 --- a/ExternalAPI_NET8/Controllers/DownloadController.cs +++ b/ExternalAPI_NET8/Controllers/DownloadController.cs @@ -25,7 +25,7 @@ public class DownloadController : Controller [HttpGet("")] public IActionResult Download(string fileName, string sign, long t) { - // 1. 校验时效(5分钟内有效)-- + // 1. 校验时效(5分钟内有效) var now = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); if (now - t > 300000) return BadRequest("过期访问!");