From c814736427cab2ed9e67dcbe66d0a5c38e1528ff Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 26 Jan 2026 16:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96dron=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=AD=A5=E9=AA=A4=EF=BC=8C=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E4=B8=80=E4=B8=8B=E5=AD=90=E8=B4=9F?= =?UTF-8?q?=E8=BD=BD=E8=BF=87=E5=A4=A7=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Management/UserService.cs | 2 +- irc_api.drone.yml | 67 ++++--------------- 2 files changed, 13 insertions(+), 56 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 62d89c426..05f9a0cae 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -1073,7 +1073,7 @@ namespace IRaCIS.Core.Application.Service //异地登录 loginUser.LoginState = 2; - + await _fusionCache.RemoveByTagAsync(CacheKeys.UserMFATag(loginUser.IdentityUserId)); } } } diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 9b8eba609..3532380ce 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -48,29 +48,6 @@ steps: commands: - cd /opt/1panel/xc-deploy/Test_IRC/devops-build-publish;sh test-irc-update-or-create-stack.sh v${DRONE_BUILD_NUMBER} -trigger: - branch: - - Test_IRC_Net8 - ---- -kind: pipeline -type: ssh -name: ssh-linux-test-irc-scp-publish - -platform: - os: Linux - arch: 386 - -clone: - disable: true - -server: - host: 106.14.89.110 - user: root - password: - from_secret: test_ssh_pwd - -steps: - name: publish-test-irc-scp commands: - cd /opt/1panel/xc-deploy/Test_IRC_SCP/devops-build-publish;sh pull-build-test-irc-scp-image.sh v${DRONE_BUILD_NUMBER} @@ -78,7 +55,9 @@ steps: trigger: branch: - - Test_IRC_Net8—_SCP_Disable + - Test_IRC_Net8 + + --- kind: pipeline @@ -111,37 +90,7 @@ trigger: --- kind: pipeline type: ssh -name: ssh-linux-test-scp-publish - -platform: - os: Linux - arch: 386 - -clone: - disable: true #禁用默认克隆 - -server: - host: 106.14.89.110 - user: root - password: - from_secret: test_ssh_pwd - -steps: -- name: publish-test-hir-scp - commands: - - cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER} - - cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} -trigger: - branch: - - Test_HIR - - ---- - - -kind: pipeline -type: ssh -name: ssh-linux-test-hir-publish +name: ssh-linux-test-hir platform: os: Linux @@ -161,8 +110,16 @@ steps: commands: - cd /opt/1panel/xc-deploy/Test_HIR/devops-build-publish;sh pull-build-test-hir-image.sh v${DRONE_BUILD_NUMBER} - cd /opt/1panel/xc-deploy/Test_HIR ; sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} + +- name: publish-test-hir-scp + commands: + - cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER} + - cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} trigger: branch: - Test_HIR + + + \ No newline at end of file