From 791c9905df819cc41356a93302962ff4ab796d51 Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Mon, 22 Jun 2026 11:26:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E7=94=9F=E6=88=90=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index d4b0a4c..ba23cba 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -583,7 +583,8 @@ func GetLocalBaseURL(ctx context.Context) string { // GetCallbackURL 获取回调地址(完整 URL) func GetCallbackURL(ctx context.Context, path string) string { - baseURL := GetLocalBaseURL(ctx) + //baseURL := GetLocalBaseURL(ctx) + baseURL := "http://" + GetLocalAddress(ctx) // 确保 path 以 / 开头 if !strings.HasPrefix(path, "/") { path = "/" + path