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
+1 -1
View File
@@ -2,7 +2,7 @@ package chat
import (
"gorm.io/gorm"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
)
// ListingChatCreatorAdapter 适配器,实现 listing.ListingChatCreator 接口
@@ -4,8 +4,8 @@ import (
"testing"
"time"
"hfb_sys/backend/internal/database"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/database"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
@@ -7,7 +7,7 @@ import (
"strings"
"time"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
"gorm.io/gorm/clause"
@@ -4,8 +4,8 @@ import (
"testing"
"time"
"hfb_sys/backend/internal/database"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/database"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
+1 -1
View File
@@ -1,7 +1,7 @@
package chat
import (
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
@@ -1,7 +1,7 @@
package chat
import (
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -1,8 +1,8 @@
package chat
import (
"hfb_sys/backend/internal/sitecode"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/internal/sitecode"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -5,7 +5,7 @@ import (
"errors"
"net/http"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -3,8 +3,8 @@ package chat
import (
"strconv"
"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"
)
@@ -5,7 +5,7 @@ import (
"net/http"
"strconv"
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -1,7 +1,7 @@
package chat
import (
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -1,7 +1,7 @@
package chat
import (
"hfb_sys/backend/pkg/response"
"hfb_jysh/backend/pkg/response"
"github.com/gin-gonic/gin"
)
@@ -10,9 +10,9 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"hfb_sys/backend/internal/integrations/push"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/internal/modules/supportgroup"
"hfb_jysh/backend/internal/integrations/push"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/internal/modules/supportgroup"
)
// 会话类型常量
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"errors"
"gorm.io/gorm"
"gorm.io/gorm/clause"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/internal/modules/chathub"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/internal/modules/chathub"
"time"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"gorm.io/gorm"
"gorm.io/gorm/clause"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"strconv"
"time"
)
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/internal/modules/chathub"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/internal/modules/chathub"
)
// QrCodeStatus 二维码状态常量
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"time"
"unicode/utf8"
"hfb_sys/backend/internal/logging"
"hfb_jysh/backend/internal/logging"
"github.com/google/uuid"
"go.uber.org/zap"
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"testing"
"time"
"hfb_sys/backend/internal/database"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/database"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package chat
import (
"context"
"errors"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"strings"
"gorm.io/gorm"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/redis/go-redis/v9"
"go.uber.org/zap"
"gorm.io/gorm"
"hfb_sys/backend/internal/modules/chathub"
"hfb_jysh/backend/internal/modules/chathub"
)
type Repository struct {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"errors"
"fmt"
"gorm.io/gorm"
"hfb_sys/backend/internal/model"
"hfb_sys/backend/internal/modules/chathub"
"hfb_jysh/backend/internal/model"
"hfb_jysh/backend/internal/modules/chathub"
"strings"
"time"
)
@@ -3,7 +3,7 @@ package chat
import (
"strings"
"hfb_sys/backend/internal/modules/supportgroup"
"hfb_jysh/backend/internal/modules/supportgroup"
"gorm.io/gorm"
)