refactor(backend): Go 模块路径改为 hfb_jysh/backend 并忽略 .openidea

This commit is contained in:
yml2213
2026-11-10 12:01:50 +08:00
parent 98fccb295e
commit 0659070916
303 changed files with 690 additions and 691 deletions
@@ -10,7 +10,7 @@ import (
"strings"
"time"
"hfb_sys/backend/pkg/crypto"
"hfb_jysh/backend/pkg/crypto"
)
const cloudMarketProviderName = "aliyun_cloudmarket"
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
"hfb_sys/backend/pkg/crypto"
"hfb_jysh/backend/pkg/crypto"
)
func newTestCloudMarketProvider(t *testing.T, handler http.HandlerFunc) (*CloudMarketProvider, func()) {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"errors"
"net/http"
"hfb_sys/backend/internal/middleware"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/internal/middleware"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -8,7 +8,7 @@ import (
"strings"
"time"
"hfb_sys/backend/pkg/crypto"
"hfb_jysh/backend/pkg/crypto"
)
type Provider interface {
@@ -5,10 +5,10 @@ import (
"errors"
"strings"
"hfb_sys/backend/internal/logging"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/internal/modules/invitation"
"hfb_sys/backend/pkg/crypto"
"hfb_jysh/backend/internal/logging"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/internal/modules/invitation"
"hfb_jysh/backend/pkg/crypto"
"go.uber.org/zap"
"gorm.io/gorm"
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"regexp"
"strings"
"hfb_sys/backend/internal/logging"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/logging"
"hfb_jysh/backend/internal/model"
"go.uber.org/zap"
)
@@ -5,9 +5,9 @@ import (
"testing"
"time"
"hfb_sys/backend/internal/database"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/pkg/crypto"
"hfb_jysh/backend/internal/database"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/pkg/crypto"
"go.uber.org/zap"
"gorm.io/gorm"