From b7b1ee51a1e34074469025b093f7fa100d057736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Wed, 10 Jun 2026 15:29:21 +0800 Subject: [PATCH] =?UTF-8?q?ci/cd=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 25 ------------------- digital-human/controller/audio_controller.go | 2 +- .../controller/custom_voice_controller.go | 2 +- .../controller/digitalhuman_controller.go | 2 +- digital-human/controller/video_controller.go | 2 +- digital-human/dao/async_task_ref_dao.go | 2 +- digital-human/dao/audio_dao.go | 2 +- digital-human/dao/custom_voice_dao.go | 4 +-- digital-human/dao/digitalhuman_dao.go | 2 +- digital-human/dao/video_dao.go | 2 +- digital-human/model/dto/audio_dto.go | 2 +- digital-human/model/dto/custom_voice_dto.go | 2 +- digital-human/model/dto/digitalhuman_dto.go | 2 +- digital-human/model/dto/video_dto.go | 2 +- digital-human/model/entity/async_task_ref.go | 2 +- digital-human/model/entity/audio.go | 2 +- digital-human/model/entity/custom_voice.go | 2 +- digital-human/model/entity/digitalhuman.go | 2 +- digital-human/model/entity/video.go | 2 +- digital-human/service/http_wrapper.go | 4 +-- go.mod | 2 +- go.sum | 2 ++ main.go | 4 +-- .../controller/creation_info_controller.go | 2 +- .../flow/flow_execution_controller.go | 2 +- .../flow/flow_template_controller.go | 2 +- .../controller/flow/flow_user_controller.go | 2 +- .../skill/skill_template_controller.go | 2 +- .../controller/skill/skill_user_controller.go | 2 +- workflow/dao/creation_info_dao.go | 2 +- workflow/dao/file/file_temp_dao.go | 2 +- workflow/dao/flow/flow_execution_dao.go | 2 +- workflow/dao/flow/flow_template_dao.go | 2 +- workflow/dao/flow/flow_user_dao.go | 2 +- workflow/dao/skill/skill_template_dao.go | 2 +- workflow/dao/skill/skill_user_dao.go | 2 +- workflow/model/dto/creation_info_dto.go | 2 +- workflow/model/dto/file/file_temp_dto.go | 2 +- workflow/model/dto/flow/flow_execution_dto.go | 2 +- workflow/model/dto/flow/flow_template_dto.go | 2 +- workflow/model/dto/flow/flow_user_dto.go | 2 +- .../model/dto/skill/skill_template_dto.go | 2 +- workflow/model/dto/skill/skill_user_dto.go | 2 +- workflow/model/entity/creation_info.go | 2 +- workflow/model/entity/file_temp.go | 2 +- workflow/model/entity/flow_execution.go | 2 +- workflow/model/entity/flow_template.go | 2 +- workflow/model/entity/flow_user.go | 2 +- workflow/model/entity/skill_template.go | 2 +- workflow/model/entity/skill_user.go | 2 +- workflow/service/creation_info_service.go | 2 +- workflow/service/einograph/lambda_func.go | 4 +-- .../service/flow/flow_execution_service.go | 2 +- workflow/service/flow/flow_user_service.go | 6 ++--- workflow/service/flow/lambda_node.go | 4 +-- workflow/service/flow/lambda_node_imp.go | 2 +- workflow/service/flow/lambda_node_util.go | 4 +-- workflow/service/node/node_library_service.go | 2 +- workflow/service/skill/skill_user_service.go | 6 ++--- 59 files changed, 69 insertions(+), 92 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee852cb..e4d8c9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,12 +10,6 @@ ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn,direct ENV CGO_ENABLED=0 ENV GOTOOLCHAIN=auto -ENV GOPRIVATE=gitea.com/red-future/common - -# 配置git使用私有Gitea仓库 -RUN git config --global url."http://x-token-auth:9b31146aa8c10a7cb4f2e49dcee0934a223be1076289810e1ad98b968066c2bc@116.204.74.41:3000/red-future/common.git".insteadOf "https://gitea.com/red-future/common.git" && \ - git config --global credential.helper store - WORKDIR /build COPY . . @@ -24,25 +18,6 @@ RUN go mod download && go mod tidy RUN go build -ldflags="-s -w" -o main ./main.go -# 阶段2: 运行 -FROM alpine:3.19 - -RUN apk add --no-cache ca-certificates tzdata - -ENV TZ=Asia/Shanghai -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - -WORKDIR /app - -COPY --from=builder /build/main . -COPY --from=builder /build/config.yml ./ - -RUN mkdir -p /app/resource/log/run \ - /app/resource/log/server \ - && adduser -D -u 1000 appuser \ - && chown -R appuser:appuser /app - -USER appuser EXPOSE 3005 diff --git a/digital-human/controller/audio_controller.go b/digital-human/controller/audio_controller.go index 14e7be0..9760087 100644 --- a/digital-human/controller/audio_controller.go +++ b/digital-human/controller/audio_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/controller/custom_voice_controller.go b/digital-human/controller/custom_voice_controller.go index 79e5753..5a0e3c5 100644 --- a/digital-human/controller/custom_voice_controller.go +++ b/digital-human/controller/custom_voice_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/controller/digitalhuman_controller.go b/digital-human/controller/digitalhuman_controller.go index d029946..615264b 100644 --- a/digital-human/controller/digitalhuman_controller.go +++ b/digital-human/controller/digitalhuman_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type digitalhuman struct{} diff --git a/digital-human/controller/video_controller.go b/digital-human/controller/video_controller.go index 71eb814..57382f5 100644 --- a/digital-human/controller/video_controller.go +++ b/digital-human/controller/video_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type video struct{} diff --git a/digital-human/dao/async_task_ref_dao.go b/digital-human/dao/async_task_ref_dao.go index b2dc11c..5c147c0 100644 --- a/digital-human/dao/async_task_ref_dao.go +++ b/digital-human/dao/async_task_ref_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/digital-human/consts/public" "ai-agent/digital-human/model/entity" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" ) diff --git a/digital-human/dao/audio_dao.go b/digital-human/dao/audio_dao.go index c903c26..3211ffe 100644 --- a/digital-human/dao/audio_dao.go +++ b/digital-human/dao/audio_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/dao/custom_voice_dao.go b/digital-human/dao/custom_voice_dao.go index 78f1e4e..997c8fa 100644 --- a/digital-human/dao/custom_voice_dao.go +++ b/digital-human/dao/custom_voice_dao.go @@ -6,8 +6,8 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/beans" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/dao/digitalhuman_dao.go b/digital-human/dao/digitalhuman_dao.go index 693272d..39ebc8f 100644 --- a/digital-human/dao/digitalhuman_dao.go +++ b/digital-human/dao/digitalhuman_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/dao/video_dao.go b/digital-human/dao/video_dao.go index 53faaf0..d6ec26a 100644 --- a/digital-human/dao/video_dao.go +++ b/digital-human/dao/video_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/model/dto/audio_dto.go b/digital-human/model/dto/audio_dto.go index ad37401..5d3350a 100644 --- a/digital-human/model/dto/audio_dto.go +++ b/digital-human/model/dto/audio_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/custom_voice_dto.go b/digital-human/model/dto/custom_voice_dto.go index b8c6cd0..d2395b3 100644 --- a/digital-human/model/dto/custom_voice_dto.go +++ b/digital-human/model/dto/custom_voice_dto.go @@ -1,7 +1,7 @@ package dto import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/digitalhuman_dto.go b/digital-human/model/dto/digitalhuman_dto.go index 1ee4ca1..e22341e 100644 --- a/digital-human/model/dto/digitalhuman_dto.go +++ b/digital-human/model/dto/digitalhuman_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/video_dto.go b/digital-human/model/dto/video_dto.go index 4232504..41f690a 100644 --- a/digital-human/model/dto/video_dto.go +++ b/digital-human/model/dto/video_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/entity/async_task_ref.go b/digital-human/model/entity/async_task_ref.go index 0a9ab84..55531fc 100644 --- a/digital-human/model/entity/async_task_ref.go +++ b/digital-human/model/entity/async_task_ref.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type asyncTaskRefCol struct { diff --git a/digital-human/model/entity/audio.go b/digital-human/model/entity/audio.go index 15740e8..62f65c0 100644 --- a/digital-human/model/entity/audio.go +++ b/digital-human/model/entity/audio.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type audioCol struct { diff --git a/digital-human/model/entity/custom_voice.go b/digital-human/model/entity/custom_voice.go index ecca640..676059c 100644 --- a/digital-human/model/entity/custom_voice.go +++ b/digital-human/model/entity/custom_voice.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type customVoiceCol struct { diff --git a/digital-human/model/entity/digitalhuman.go b/digital-human/model/entity/digitalhuman.go index af2af2b..13093dc 100644 --- a/digital-human/model/entity/digitalhuman.go +++ b/digital-human/model/entity/digitalhuman.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type digitalHumanCol struct { diff --git a/digital-human/model/entity/video.go b/digital-human/model/entity/video.go index f6261cc..0292876 100644 --- a/digital-human/model/entity/video.go +++ b/digital-human/model/entity/video.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type videoCol struct { diff --git a/digital-human/service/http_wrapper.go b/digital-human/service/http_wrapper.go index d6e62e7..e9f12f7 100644 --- a/digital-human/service/http_wrapper.go +++ b/digital-human/service/http_wrapper.go @@ -13,8 +13,8 @@ import ( "sync" "time" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/errors/gerror" "github.com/gogf/gf/v2/frame/g" ) diff --git a/go.mod b/go.mod index 2c6a4ff..1697bb3 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module ai-agent go 1.26.0 require ( - gitea.com/red-future/common v0.0.21 + gitea.redpowerfuture.com/red-future/common v0.0.23 github.com/cloudwego/eino v0.8.13 github.com/cloudwego/eino-ext/components/model/qwen v0.1.9 github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.0 diff --git a/go.sum b/go.sum index 685ac80..ce927c8 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= gitea.com/red-future/common v0.0.21 h1:8w30HmCVmFG/hphH3ODJs1KxDEGmRpq+/PXI0pQjJKc= gitea.com/red-future/common v0.0.21/go.mod h1:6/nqIucVzmjOyqDTIq71feYBXXFNBy0rFwzaQ0/Ueoo= +gitea.redpowerfuture.com/red-future/common v0.0.23 h1:xieoA00iKOCDm5SO9iXn+cSyMKBAlZwI0fuEVPWrHLg= +gitea.redpowerfuture.com/red-future/common v0.0.23/go.mod h1:50U1Xi+Ie56z09S5LQbZvaken0Mxv3OeS9LgR7U/ZRY= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= diff --git a/main.go b/main.go index 46fb1c6..45c73d6 100644 --- a/main.go +++ b/main.go @@ -8,8 +8,8 @@ import ( workflowSkillController "ai-agent/workflow/controller/skill" "context" - "gitea.com/red-future/common/http" - "gitea.com/red-future/common/jaeger" + "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/jaeger" _ "github.com/gogf/gf/contrib/drivers/pgsql/v2" _ "github.com/gogf/gf/contrib/nosql/redis/v2" ) diff --git a/workflow/controller/creation_info_controller.go b/workflow/controller/creation_info_controller.go index 3886ca5..16548af 100644 --- a/workflow/controller/creation_info_controller.go +++ b/workflow/controller/creation_info_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/workflow/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type creationInfo struct{} diff --git a/workflow/controller/flow/flow_execution_controller.go b/workflow/controller/flow/flow_execution_controller.go index ad52bd7..f984590 100644 --- a/workflow/controller/flow/flow_execution_controller.go +++ b/workflow/controller/flow/flow_execution_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type flowExecution struct{} diff --git a/workflow/controller/flow/flow_template_controller.go b/workflow/controller/flow/flow_template_controller.go index bf6f552..b482f47 100644 --- a/workflow/controller/flow/flow_template_controller.go +++ b/workflow/controller/flow/flow_template_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/controller/flow/flow_user_controller.go b/workflow/controller/flow/flow_user_controller.go index 8978b9a..02344f7 100644 --- a/workflow/controller/flow/flow_user_controller.go +++ b/workflow/controller/flow/flow_user_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/controller/skill/skill_template_controller.go b/workflow/controller/skill/skill_template_controller.go index b784151..5422710 100644 --- a/workflow/controller/skill/skill_template_controller.go +++ b/workflow/controller/skill/skill_template_controller.go @@ -5,7 +5,7 @@ import ( skillService "ai-agent/workflow/service/skill" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type skillTemplate struct{} diff --git a/workflow/controller/skill/skill_user_controller.go b/workflow/controller/skill/skill_user_controller.go index b78459f..d39d4ed 100644 --- a/workflow/controller/skill/skill_user_controller.go +++ b/workflow/controller/skill/skill_user_controller.go @@ -5,7 +5,7 @@ import ( skillService "ai-agent/workflow/service/skill" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type skillUser struct{} diff --git a/workflow/dao/creation_info_dao.go b/workflow/dao/creation_info_dao.go index 0941ea6..155cc38 100644 --- a/workflow/dao/creation_info_dao.go +++ b/workflow/dao/creation_info_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/file/file_temp_dao.go b/workflow/dao/file/file_temp_dao.go index 6e75f67..e881c86 100644 --- a/workflow/dao/file/file_temp_dao.go +++ b/workflow/dao/file/file_temp_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_execution_dao.go b/workflow/dao/flow/flow_execution_dao.go index 1b1e595..78276df 100644 --- a/workflow/dao/flow/flow_execution_dao.go +++ b/workflow/dao/flow/flow_execution_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_template_dao.go b/workflow/dao/flow/flow_template_dao.go index 083a1c4..ab47b7f 100644 --- a/workflow/dao/flow/flow_template_dao.go +++ b/workflow/dao/flow/flow_template_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_user_dao.go b/workflow/dao/flow/flow_user_dao.go index afbb833..266eb00 100644 --- a/workflow/dao/flow/flow_user_dao.go +++ b/workflow/dao/flow/flow_user_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/skill/skill_template_dao.go b/workflow/dao/skill/skill_template_dao.go index 4b462e2..636b76b 100644 --- a/workflow/dao/skill/skill_template_dao.go +++ b/workflow/dao/skill/skill_template_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/skill/skill_user_dao.go b/workflow/dao/skill/skill_user_dao.go index bae4fcc..13b8029 100644 --- a/workflow/dao/skill/skill_user_dao.go +++ b/workflow/dao/skill/skill_user_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/model/dto/creation_info_dto.go b/workflow/model/dto/creation_info_dto.go index 02046fc..f38afa8 100644 --- a/workflow/model/dto/creation_info_dto.go +++ b/workflow/model/dto/creation_info_dto.go @@ -1,7 +1,7 @@ package dto import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/file/file_temp_dto.go b/workflow/model/dto/file/file_temp_dto.go index 3911b06..aca8a76 100644 --- a/workflow/model/dto/file/file_temp_dto.go +++ b/workflow/model/dto/file/file_temp_dto.go @@ -1,7 +1,7 @@ package file import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_execution_dto.go b/workflow/model/dto/flow/flow_execution_dto.go index a74eb2f..6a6ff2a 100644 --- a/workflow/model/dto/flow/flow_execution_dto.go +++ b/workflow/model/dto/flow/flow_execution_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_template_dto.go b/workflow/model/dto/flow/flow_template_dto.go index 123f5a9..c0dab1f 100644 --- a/workflow/model/dto/flow/flow_template_dto.go +++ b/workflow/model/dto/flow/flow_template_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_user_dto.go b/workflow/model/dto/flow/flow_user_dto.go index c290840..6dd450b 100644 --- a/workflow/model/dto/flow/flow_user_dto.go +++ b/workflow/model/dto/flow/flow_user_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/skill/skill_template_dto.go b/workflow/model/dto/skill/skill_template_dto.go index 9b3e676..f5b00e7 100644 --- a/workflow/model/dto/skill/skill_template_dto.go +++ b/workflow/model/dto/skill/skill_template_dto.go @@ -1,7 +1,7 @@ package skill import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/skill/skill_user_dto.go b/workflow/model/dto/skill/skill_user_dto.go index 04e4969..5b96515 100644 --- a/workflow/model/dto/skill/skill_user_dto.go +++ b/workflow/model/dto/skill/skill_user_dto.go @@ -1,7 +1,7 @@ package skill import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/entity/creation_info.go b/workflow/model/entity/creation_info.go index 72ebe24..7ddf627 100644 --- a/workflow/model/entity/creation_info.go +++ b/workflow/model/entity/creation_info.go @@ -1,6 +1,6 @@ package entity -import "gitea.com/red-future/common/beans" +import "gitea.redpowerfuture.com/red-future/common/beans" type CreationInfo struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt diff --git a/workflow/model/entity/file_temp.go b/workflow/model/entity/file_temp.go index 6c8f4e8..ceff25e 100644 --- a/workflow/model/entity/file_temp.go +++ b/workflow/model/entity/file_temp.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FileTemp struct { diff --git a/workflow/model/entity/flow_execution.go b/workflow/model/entity/flow_execution.go index 9d8961e..2327ad1 100644 --- a/workflow/model/entity/flow_execution.go +++ b/workflow/model/entity/flow_execution.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/flow" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowExecution struct { diff --git a/workflow/model/entity/flow_template.go b/workflow/model/entity/flow_template.go index 68c5655..e206bf8 100644 --- a/workflow/model/entity/flow_template.go +++ b/workflow/model/entity/flow_template.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/flow" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowTemplate struct { diff --git a/workflow/model/entity/flow_user.go b/workflow/model/entity/flow_user.go index 21f60ce..ee7bf3e 100644 --- a/workflow/model/entity/flow_user.go +++ b/workflow/model/entity/flow_user.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/consts/node" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowInfo struct { diff --git a/workflow/model/entity/skill_template.go b/workflow/model/entity/skill_template.go index 38a60dc..0397140 100644 --- a/workflow/model/entity/skill_template.go +++ b/workflow/model/entity/skill_template.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type SkillTemplate struct { diff --git a/workflow/model/entity/skill_user.go b/workflow/model/entity/skill_user.go index 0810a69..336538a 100644 --- a/workflow/model/entity/skill_user.go +++ b/workflow/model/entity/skill_user.go @@ -1,6 +1,6 @@ package entity -import "gitea.com/red-future/common/beans" +import "gitea.redpowerfuture.com/red-future/common/beans" type SkillUser struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt diff --git a/workflow/service/creation_info_service.go b/workflow/service/creation_info_service.go index 2de532c..4138a23 100644 --- a/workflow/service/creation_info_service.go +++ b/workflow/service/creation_info_service.go @@ -9,7 +9,7 @@ import ( "fmt" "sort" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/einograph/lambda_func.go b/workflow/service/einograph/lambda_func.go index df19d25..10df44f 100644 --- a/workflow/service/einograph/lambda_func.go +++ b/workflow/service/einograph/lambda_func.go @@ -9,8 +9,8 @@ import ( "net/http" "strings" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/cloudwego/eino/schema" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/glog" diff --git a/workflow/service/flow/flow_execution_service.go b/workflow/service/flow/flow_execution_service.go index 63bb0df..d98e0a6 100644 --- a/workflow/service/flow/flow_execution_service.go +++ b/workflow/service/flow/flow_execution_service.go @@ -16,7 +16,7 @@ import ( "strings" "sync" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/cloudwego/eino/compose" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" diff --git a/workflow/service/flow/flow_user_service.go b/workflow/service/flow/flow_user_service.go index 3681fac..f606e33 100644 --- a/workflow/service/flow/flow_user_service.go +++ b/workflow/service/flow/flow_user_service.go @@ -7,9 +7,9 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/beans" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/beans" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/flow/lambda_node.go b/workflow/service/flow/lambda_node.go index 411d1f9..e7c492a 100644 --- a/workflow/service/flow/lambda_node.go +++ b/workflow/service/flow/lambda_node.go @@ -15,8 +15,8 @@ import ( "strings" "time" - "gitea.com/red-future/common/db/gfdb" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/workflow/service/flow/lambda_node_imp.go b/workflow/service/flow/lambda_node_imp.go index c7ae430..62f29a1 100644 --- a/workflow/service/flow/lambda_node_imp.go +++ b/workflow/service/flow/lambda_node_imp.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/flow/lambda_node_util.go b/workflow/service/flow/lambda_node_util.go index 419615e..06f398c 100644 --- a/workflow/service/flow/lambda_node_util.go +++ b/workflow/service/flow/lambda_node_util.go @@ -13,8 +13,8 @@ import ( "strconv" "strings" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/node/node_library_service.go b/workflow/service/node/node_library_service.go index 8cadb5f..2e9b38f 100644 --- a/workflow/service/node/node_library_service.go +++ b/workflow/service/node/node_library_service.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/encoding/gjson" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/service/skill/skill_user_service.go b/workflow/service/skill/skill_user_service.go index d944112..650c436 100644 --- a/workflow/service/skill/skill_user_service.go +++ b/workflow/service/skill/skill_user_service.go @@ -9,9 +9,9 @@ import ( "path/filepath" "strings" - "gitea.com/red-future/common/beans" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/beans" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" )