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("过期访问!");