From 8cb5cae808fb87f10612212dee01c230128946ad Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Mon, 7 Sep 2026 20:36:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8DNacos=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E5=A4=96=E9=83=A8Action=E4=B8=8B=E8=BD=BD=E8=B6=85?= =?UTF-8?q?=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/publish-nacos.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/publish-nacos.yml b/.gitea/workflows/publish-nacos.yml index 10b7c5a5..be611cfc 100644 --- a/.gitea/workflows/publish-nacos.yml +++ b/.gitea/workflows/publish-nacos.yml @@ -24,12 +24,23 @@ jobs: env: GITHUB_SERVER_URL: http://192.168.5.15:3000 steps: - - name: 检出配置源 - uses: actions/checkout@v4 - - name: 准备 Node.js 运行时 - uses: actions/setup-node@v4 - with: - node-version: 20 + - name: 从内网 Gitea 检出配置源 + shell: bash + env: + GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + set -euo pipefail + test -n "$GITEA_TOKEN" + git init . + git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" + git -c http.extraheader="Authorization: token $GITEA_TOKEN" fetch --no-tags --depth=1 origin "$GITHUB_SHA" + git checkout --detach "$GITHUB_SHA" + - name: 检查 Node.js 运行时 + shell: bash + run: | + set -euo pipefail + node_version="$(node --version)" + [[ "$node_version" == v20.* ]] - name: 发布并校验配置 env: NACOS_ENVIRONMENT: ${{ inputs.environment || github.ref_name }} From c849f447878565296a3688a514548758a61d6d8c Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Mon, 7 Sep 2026 20:48:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8Mapper=E6=89=AB=E6=8F=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiaowang/jacyucloudsalon/core/config/MyBatisPlusConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/JC-Salon-Core/src/main/java/com/xiaowang/jacyucloudsalon/core/config/MyBatisPlusConfig.java b/JC-Salon-Core/src/main/java/com/xiaowang/jacyucloudsalon/core/config/MyBatisPlusConfig.java index 70606e3b..b2db06ca 100644 --- a/JC-Salon-Core/src/main/java/com/xiaowang/jacyucloudsalon/core/config/MyBatisPlusConfig.java +++ b/JC-Salon-Core/src/main/java/com/xiaowang/jacyucloudsalon/core/config/MyBatisPlusConfig.java @@ -32,6 +32,7 @@ import org.springframework.context.annotation.Configuration; "com.xiaowang.jacyucloudsalon.core.modules.payment.mapper", "com.xiaowang.jacyucloudsalon.core.modules.planning.mapper", "com.xiaowang.jacyucloudsalon.core.modules.product.mapper", + "com.xiaowang.jacyucloudsalon.core.modules.registration.mapper", "com.xiaowang.jacyucloudsalon.core.modules.security.mapper", "com.xiaowang.jacyucloudsalon.core.modules.shop.mapper", "com.xiaowang.jacyucloudsalon.core.modules.system.mapper",