From b9b3731bbe377eeee9fb989ec086f025c2d83d78 Mon Sep 17 00:00:00 2001 From: jianzhichu Date: Wed, 31 Dec 2025 15:52:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=85=BE=E8=AE=AF=E9=95=9C=E5=83=8F=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controllers/ConfigController.cs | 1 + Program.cs | 4 ++++ README.md | 11 +++++------ dy.net.csproj | 12 ++++++------ lib/dy.sync.lib.dll | Bin 6144 -> 6144 bytes 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Controllers/ConfigController.cs b/Controllers/ConfigController.cs index db788a5..98908cb 100644 --- a/Controllers/ConfigController.cs +++ b/Controllers/ConfigController.cs @@ -332,6 +332,7 @@ namespace dy.net.Controllers return ApiResult.Success(Appsettings.Get("tagName")); } + [AllowAnonymous] [HttpGet("checktag")] public async Task CheckTag() { diff --git a/Program.cs b/Program.cs index 9ddb7c8..c485899 100644 --- a/Program.cs +++ b/Program.cs @@ -1,6 +1,7 @@ using dy.net.extension; using dy.net.service; using dy.net.utils; +using dy.sync.lib; using Serilog; using System.Drawing; using System.Linq.Expressions; @@ -258,6 +259,9 @@ namespace dy.net // 启动定时任务 var quartzJobService = services.GetRequiredService(); quartzJobService.InitOrReStartAllJobs(config?.Cron <= 0 ? "30" : config.Cron.ToString()); + + + DouyinHttpHelper.GetTenImage(Appsettings.Get("tagName"));//查询镜像版本 } // 初始化Cookie var deploy= Appsettings.Get("deploy"); diff --git a/README.md b/README.md index 1ed581e..ed4350a 100644 --- a/README.md +++ b/README.md @@ -96,11 +96,10 @@ Cookie 及 `sec_user_id` 是同步功能的核心,需严格按步骤获取, | 镜像标签 | 架构 | | ----------------- | -------------- | -| `beta_1.9.3` | x86_64 (amd64) | -| `arm_1.9.3` | ARM64 | +| `beta_1.9.4` | x86_64 (amd64) | +| `arm_1.9.4` | ARM64 | + -### 最新镜像查看 -[镜像列表](http://nas.synology2023.online:10108/api/docker/dysync/1) ### 构建命令示例 将下方命令中的「本地路径」替换为你的实际路径,终端执行即可: @@ -115,7 +114,7 @@ docker run -d --restart=always \ -v /opt/dysync/uper:/app/uper \ -p 10101:10101 \ --name dysync2025 \ - ccr.ccs.tencentyun.com/jianzhichu/dysync:beta_1.9.3 + ccr.ccs.tencentyun.com/jianzhichu/dysync:beta_1.9.4 ``` @@ -128,7 +127,7 @@ version: '3.8' services: dysync: - image: ccr.ccs.tencentyun.com/jianzhichu/dysync:beta_1.9.3 + image: ccr.ccs.tencentyun.com/jianzhichu/dysync:beta_1.9.4 container_name: dysync2025 # 容器名称 restart: unless-stopped # 始终重启容器,除非容器被手动停止或Docker服务停止 ports: diff --git a/dy.net.csproj b/dy.net.csproj index 006fa53..82fe2d9 100644 --- a/dy.net.csproj +++ b/dy.net.csproj @@ -77,12 +77,6 @@ - - - lib\dy.sync.lib.dll - - - Always @@ -102,6 +96,12 @@ + + + + lib\dy.sync.lib.dll + +