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
@@ -3,7 +3,7 @@ package paymentconfig
import (
"encoding/json"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
@@ -5,7 +5,7 @@ import (
"errors"
"time"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
"gorm.io/gorm/clause"
@@ -6,8 +6,8 @@ import (
"strconv"
"time"
"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 (
"errors"
"strings"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
"gorm.io/gorm/clause"
@@ -3,7 +3,7 @@ package paymentconfig
import (
"time"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
)
// toDTO 转换为 DTO
@@ -6,7 +6,7 @@ import (
"errors"
"time"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)
@@ -1,7 +1,7 @@
package paymentconfig
import (
"hfb_sys/backend/internal/auditlog"
"hfb_jysh/backend/internal/auditlog"
"gorm.io/gorm"
)
@@ -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"
)
func TestImportCreateRequestKeepsOneActiveConfigPerPayWay(t *testing.T) {
@@ -5,7 +5,7 @@ import (
"errors"
"time"
"hfb_sys/backend/internal/model"
"hfb_jysh/backend/internal/model"
"gorm.io/gorm"
)