diff --git a/.gitignore b/.gitignore index a2d5cd5..fab0913 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ backend/logs/ coverage/ tmp/ .gocache/ +.openidea/ # TypeScript incremental build info *.tsbuildinfo diff --git a/backend/cmd/api/main.go b/backend/cmd/api/main.go index dc5a6fb..9c69af9 100644 --- a/backend/cmd/api/main.go +++ b/backend/cmd/api/main.go @@ -10,22 +10,22 @@ import ( "syscall" "time" - "hfb_sys/backend/internal/config" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/jobs/distributionsettlement" - "hfb_sys/backend/internal/jobs/fileuploadcleanup" - "hfb_sys/backend/internal/jobs/listingstale" - "hfb_sys/backend/internal/jobs/ordertimeout" - "hfb_sys/backend/internal/jobs/refundretry" - "hfb_sys/backend/internal/jobs/smsdispatch" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/modules/adminauth" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/payment" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/internal/modules/systemconfig" - "hfb_sys/backend/internal/router" + "hfb_jysh/backend/internal/config" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/jobs/distributionsettlement" + "hfb_jysh/backend/internal/jobs/fileuploadcleanup" + "hfb_jysh/backend/internal/jobs/listingstale" + "hfb_jysh/backend/internal/jobs/ordertimeout" + "hfb_jysh/backend/internal/jobs/refundretry" + "hfb_jysh/backend/internal/jobs/smsdispatch" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/modules/adminauth" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/payment" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/router" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/cmd/rebate-backfill-rental/main.go b/backend/cmd/rebate-backfill-rental/main.go index af51b58..870df9e 100644 --- a/backend/cmd/rebate-backfill-rental/main.go +++ b/backend/cmd/rebate-backfill-rental/main.go @@ -20,12 +20,12 @@ import ( "strings" "time" - "hfb_sys/backend/internal/config" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/config" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/pkg/money" "gorm.io/gorm" ) diff --git a/backend/cmd/rebate-backfill/main.go b/backend/cmd/rebate-backfill/main.go index 04219c3..1b9a2f0 100644 --- a/backend/cmd/rebate-backfill/main.go +++ b/backend/cmd/rebate-backfill/main.go @@ -24,13 +24,13 @@ import ( "strings" "time" - "hfb_sys/backend/internal/config" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/pickup" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/config" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/pickup" + "hfb_jysh/backend/pkg/money" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/cmd/storage-migrate/main.go b/backend/cmd/storage-migrate/main.go index 3ef5fdb..2f14345 100644 --- a/backend/cmd/storage-migrate/main.go +++ b/backend/cmd/storage-migrate/main.go @@ -8,8 +8,8 @@ import ( "os" "strings" - "hfb_sys/backend/internal/config" - filemodule "hfb_sys/backend/internal/modules/file" + "hfb_jysh/backend/internal/config" + filemodule "hfb_jysh/backend/internal/modules/file" "github.com/minio/minio-go/v7" ) diff --git a/backend/go.mod b/backend/go.mod index 4a72a52..c7c3077 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module hfb_sys/backend +module hfb_jysh/backend go 1.26 diff --git a/backend/internal/auditlog/auditlog.go b/backend/internal/auditlog/auditlog.go index 713e694..eb8ebc5 100644 --- a/backend/internal/auditlog/auditlog.go +++ b/backend/internal/auditlog/auditlog.go @@ -3,7 +3,7 @@ package auditlog import ( "encoding/json" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/database/gorm_logger.go b/backend/internal/database/gorm_logger.go index 5280b2c..8fe5e1b 100644 --- a/backend/internal/database/gorm_logger.go +++ b/backend/internal/database/gorm_logger.go @@ -7,7 +7,7 @@ import ( "strings" "time" - appLogging "hfb_sys/backend/internal/logging" + appLogging "hfb_jysh/backend/internal/logging" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/database/test_helper.go b/backend/internal/database/test_helper.go index 307ecc8..9211c5d 100644 --- a/backend/internal/database/test_helper.go +++ b/backend/internal/database/test_helper.go @@ -1,7 +1,7 @@ package database import ( - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/e2e/distribution_flow_test.go b/backend/internal/e2e/distribution_flow_test.go index 3ac9deb..f1a7f15 100644 --- a/backend/internal/e2e/distribution_flow_test.go +++ b/backend/internal/e2e/distribution_flow_test.go @@ -12,18 +12,18 @@ import ( "gorm.io/datatypes" "gorm.io/gorm" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/internal/modules/dispute" - "hfb_sys/backend/internal/modules/distribution" - listingpkg "hfb_sys/backend/internal/modules/listing" - orderpkg "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/payment" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/internal/modules/withdrawal" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/dispute" + "hfb_jysh/backend/internal/modules/distribution" + listingpkg "hfb_jysh/backend/internal/modules/listing" + orderpkg "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/payment" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/modules/withdrawal" + "hfb_jysh/backend/pkg/crypto" ) func openDistributionE2EDB(t *testing.T) *gorm.DB { diff --git a/backend/internal/e2e/rental_flow_test.go b/backend/internal/e2e/rental_flow_test.go index 52d66d5..33e2708 100644 --- a/backend/internal/e2e/rental_flow_test.go +++ b/backend/internal/e2e/rental_flow_test.go @@ -8,19 +8,19 @@ import ( "gorm.io/gorm" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/adminfinance" - "hfb_sys/backend/internal/modules/dispute" - "hfb_sys/backend/internal/modules/listing" - "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/payment" - "hfb_sys/backend/internal/modules/paymentaccount" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/internal/modules/withdrawal" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/adminfinance" + "hfb_jysh/backend/internal/modules/dispute" + "hfb_jysh/backend/internal/modules/listing" + "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/payment" + "hfb_jysh/backend/internal/modules/paymentaccount" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/modules/withdrawal" + "hfb_jysh/backend/pkg/crypto" ) func TestRentalFullFlowWithMockPayment(t *testing.T) { diff --git a/backend/internal/integrations/payment/lakala/client.go b/backend/internal/integrations/payment/lakala/client.go index 8ef3dfd..beb6f67 100644 --- a/backend/internal/integrations/payment/lakala/client.go +++ b/backend/internal/integrations/payment/lakala/client.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/timeutil" ) var ( diff --git a/backend/internal/integrations/payment/lakala/client_test.go b/backend/internal/integrations/payment/lakala/client_test.go index 6359c83..728ac47 100644 --- a/backend/internal/integrations/payment/lakala/client_test.go +++ b/backend/internal/integrations/payment/lakala/client_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/timeutil" ) func TestVerifyNotifyDetail(t *testing.T) { diff --git a/backend/internal/jobs/distributionsettlement/job.go b/backend/internal/jobs/distributionsettlement/job.go index 776f4de..674928b 100644 --- a/backend/internal/jobs/distributionsettlement/job.go +++ b/backend/internal/jobs/distributionsettlement/job.go @@ -7,7 +7,7 @@ import ( "fmt" "time" - "hfb_sys/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/distribution" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/distributionsettlement/job_test.go b/backend/internal/jobs/distributionsettlement/job_test.go index af864c2..0b9cd71 100644 --- a/backend/internal/jobs/distributionsettlement/job_test.go +++ b/backend/internal/jobs/distributionsettlement/job_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/jobs/fileuploadcleanup/job.go b/backend/internal/jobs/fileuploadcleanup/job.go index 08777df..7b49caf 100644 --- a/backend/internal/jobs/fileuploadcleanup/job.go +++ b/backend/internal/jobs/fileuploadcleanup/job.go @@ -8,7 +8,7 @@ import ( "net/url" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/fileuploadcleanup/job_test.go b/backend/internal/jobs/fileuploadcleanup/job_test.go index faf3f49..1026de1 100644 --- a/backend/internal/jobs/fileuploadcleanup/job_test.go +++ b/backend/internal/jobs/fileuploadcleanup/job_test.go @@ -5,8 +5,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" ) diff --git a/backend/internal/jobs/listingstale/job.go b/backend/internal/jobs/listingstale/job.go index 416e0fc..8107d49 100644 --- a/backend/internal/jobs/listingstale/job.go +++ b/backend/internal/jobs/listingstale/job.go @@ -11,8 +11,8 @@ import ( "fmt" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/sms" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/listingstale/job_test.go b/backend/internal/jobs/listingstale/job_test.go index 9a7d49b..59b078c 100644 --- a/backend/internal/jobs/listingstale/job_test.go +++ b/backend/internal/jobs/listingstale/job_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/sms" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/jobs/ordertimeout/job.go b/backend/internal/jobs/ordertimeout/job.go index e9e3a3c..7c2a0b7 100644 --- a/backend/internal/jobs/ordertimeout/job.go +++ b/backend/internal/jobs/ordertimeout/job.go @@ -9,10 +9,10 @@ import ( "strconv" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/adminnotification" - "hfb_sys/backend/internal/modules/chat" - "hfb_sys/backend/internal/modules/notification" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/adminnotification" + "hfb_jysh/backend/internal/modules/chat" + "hfb_jysh/backend/internal/modules/notification" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/ordertimeout/job_test.go b/backend/internal/jobs/ordertimeout/job_test.go index 77838fa..401018d 100644 --- a/backend/internal/jobs/ordertimeout/job_test.go +++ b/backend/internal/jobs/ordertimeout/job_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/chat" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/chat" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/jobs/refundretry/job.go b/backend/internal/jobs/refundretry/job.go index 902fac9..17029f8 100644 --- a/backend/internal/jobs/refundretry/job.go +++ b/backend/internal/jobs/refundretry/job.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/payment" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/payment" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/refundretry/job_test.go b/backend/internal/jobs/refundretry/job_test.go index 2d36839..c52e426 100644 --- a/backend/internal/jobs/refundretry/job_test.go +++ b/backend/internal/jobs/refundretry/job_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/payment" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/payment" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/jobs/smsdispatch/job.go b/backend/internal/jobs/smsdispatch/job.go index d510687..9c1e5a2 100644 --- a/backend/internal/jobs/smsdispatch/job.go +++ b/backend/internal/jobs/smsdispatch/job.go @@ -14,9 +14,9 @@ import ( "strings" "time" - smsprovider "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/sms" + smsprovider "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/sms" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/jobs/smsdispatch/job_test.go b/backend/internal/jobs/smsdispatch/job_test.go index 7962179..991c836 100644 --- a/backend/internal/jobs/smsdispatch/job_test.go +++ b/backend/internal/jobs/smsdispatch/job_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - smsprovider "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/database" + smsprovider "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/sms" "go.uber.org/zap" "gorm.io/datatypes" diff --git a/backend/internal/listingstatus/event.go b/backend/internal/listingstatus/event.go index 34e7b8a..154237c 100644 --- a/backend/internal/listingstatus/event.go +++ b/backend/internal/listingstatus/event.go @@ -4,8 +4,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" ) diff --git a/backend/internal/listingstatus/event_test.go b/backend/internal/listingstatus/event_test.go index 1300a63..80c3393 100644 --- a/backend/internal/listingstatus/event_test.go +++ b/backend/internal/listingstatus/event_test.go @@ -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" ) diff --git a/backend/internal/logging/logger.go b/backend/internal/logging/logger.go index 4d335e6..1c372df 100644 --- a/backend/internal/logging/logger.go +++ b/backend/internal/logging/logger.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/config" + "hfb_jysh/backend/internal/config" "go.uber.org/zap" "go.uber.org/zap/zapcore" diff --git a/backend/internal/middleware/auth.go b/backend/internal/middleware/auth.go index eec9e6d..f613de6 100644 --- a/backend/internal/middleware/auth.go +++ b/backend/internal/middleware/auth.go @@ -6,9 +6,9 @@ import ( "net/http" "strings" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/middleware/auth_test.go b/backend/internal/middleware/auth_test.go index 6a0164e..a3b89ce 100644 --- a/backend/internal/middleware/auth_test.go +++ b/backend/internal/middleware/auth_test.go @@ -6,7 +6,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/auth" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/middleware/permission.go b/backend/internal/middleware/permission.go index 3915cc9..e8ec34a 100644 --- a/backend/internal/middleware/permission.go +++ b/backend/internal/middleware/permission.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "github.com/redis/go-redis/v9" diff --git a/backend/internal/middleware/rate_limit.go b/backend/internal/middleware/rate_limit.go index aec81fe..8795f4b 100644 --- a/backend/internal/middleware/rate_limit.go +++ b/backend/internal/middleware/rate_limit.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/auth" "github.com/gin-gonic/gin" "github.com/redis/go-redis/v9" diff --git a/backend/internal/middleware/rate_limit_test.go b/backend/internal/middleware/rate_limit_test.go index 326ce7b..be73011 100644 --- a/backend/internal/middleware/rate_limit_test.go +++ b/backend/internal/middleware/rate_limit_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/auth" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/middleware/realname.go b/backend/internal/middleware/realname.go index 34436b0..60df5d7 100644 --- a/backend/internal/middleware/realname.go +++ b/backend/internal/middleware/realname.go @@ -3,8 +3,8 @@ package middleware import ( "errors" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "gorm.io/gorm" diff --git a/backend/internal/middleware/recovery.go b/backend/internal/middleware/recovery.go index f4c9b06..e932912 100644 --- a/backend/internal/middleware/recovery.go +++ b/backend/internal/middleware/recovery.go @@ -5,7 +5,7 @@ import ( "net/http" "runtime/debug" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/middleware/request_id.go b/backend/internal/middleware/request_id.go index 6dea524..3bf3496 100644 --- a/backend/internal/middleware/request_id.go +++ b/backend/internal/middleware/request_id.go @@ -8,7 +8,7 @@ import ( "sync/atomic" "time" - "hfb_sys/backend/internal/logging" + "hfb_jysh/backend/internal/logging" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/middleware/request_logger.go b/backend/internal/middleware/request_logger.go index f3fa8ee..cb78cb1 100644 --- a/backend/internal/middleware/request_logger.go +++ b/backend/internal/middleware/request_logger.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/middleware/request_logger_integration_test.go b/backend/internal/middleware/request_logger_integration_test.go index 51b8c1a..7f80e46 100644 --- a/backend/internal/middleware/request_logger_integration_test.go +++ b/backend/internal/middleware/request_logger_integration_test.go @@ -6,7 +6,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/middleware/site_domain_fallback.go b/backend/internal/middleware/site_domain_fallback.go index e9110f6..3c7f22a 100644 --- a/backend/internal/middleware/site_domain_fallback.go +++ b/backend/internal/middleware/site_domain_fallback.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "hfb_sys/backend/internal/sitecode" + "hfb_jysh/backend/internal/sitecode" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/middleware/site_domain_fallback_test.go b/backend/internal/middleware/site_domain_fallback_test.go index 3a6e863..5f1bcf1 100644 --- a/backend/internal/middleware/site_domain_fallback_test.go +++ b/backend/internal/middleware/site_domain_fallback_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/sitecode" + "hfb_jysh/backend/internal/sitecode" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/model/pickup_shop.go b/backend/internal/model/pickup_shop.go index 9c15655..c17cb82 100644 --- a/backend/internal/model/pickup_shop.go +++ b/backend/internal/model/pickup_shop.go @@ -33,4 +33,3 @@ type PickupShopMapping struct { func (PickupShopMapping) TableName() string { return "pickup_shop_mappings" } - diff --git a/backend/internal/modules/adminaudit/handler.go b/backend/internal/modules/adminaudit/handler.go index 13a81c4..09371ce 100644 --- a/backend/internal/modules/adminaudit/handler.go +++ b/backend/internal/modules/adminaudit/handler.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/adminaudit/repository.go b/backend/internal/modules/adminaudit/repository.go index 5ede93c..a7e1ecf 100644 --- a/backend/internal/modules/adminaudit/repository.go +++ b/backend/internal/modules/adminaudit/repository.go @@ -4,7 +4,7 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/adminauth/bootstrap.go b/backend/internal/modules/adminauth/bootstrap.go index 0275fd7..83e768e 100644 --- a/backend/internal/modules/adminauth/bootstrap.go +++ b/backend/internal/modules/adminauth/bootstrap.go @@ -6,7 +6,7 @@ import ( "strings" "unicode" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "golang.org/x/crypto/bcrypt" "gorm.io/gorm" diff --git a/backend/internal/modules/adminauth/dto.go b/backend/internal/modules/adminauth/dto.go index dafcc05..ddf1016 100644 --- a/backend/internal/modules/adminauth/dto.go +++ b/backend/internal/modules/adminauth/dto.go @@ -3,7 +3,7 @@ package adminauth import ( "time" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/auth" ) type AdminDTO struct { diff --git a/backend/internal/modules/adminauth/handler.go b/backend/internal/modules/adminauth/handler.go index 90cc382..8a7f036 100644 --- a/backend/internal/modules/adminauth/handler.go +++ b/backend/internal/modules/adminauth/handler.go @@ -6,9 +6,9 @@ import ( "net/http" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/adminauth/repository.go b/backend/internal/modules/adminauth/repository.go index 3dcae3f..90df005 100644 --- a/backend/internal/modules/adminauth/repository.go +++ b/backend/internal/modules/adminauth/repository.go @@ -8,11 +8,11 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/captcha" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/captcha" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/auth" "github.com/redis/go-redis/v9" "golang.org/x/crypto/bcrypt" diff --git a/backend/internal/modules/adminauth/service.go b/backend/internal/modules/adminauth/service.go index 6f4c7db..4802e59 100644 --- a/backend/internal/modules/adminauth/service.go +++ b/backend/internal/modules/adminauth/service.go @@ -5,7 +5,7 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/auth" ) var ( diff --git a/backend/internal/modules/admindashboard/handler.go b/backend/internal/modules/admindashboard/handler.go index a739c96..ec405b2 100644 --- a/backend/internal/modules/admindashboard/handler.go +++ b/backend/internal/modules/admindashboard/handler.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/admindashboard/repository.go b/backend/internal/modules/admindashboard/repository.go index 24be064..0bcecac 100644 --- a/backend/internal/modules/admindashboard/repository.go +++ b/backend/internal/modules/admindashboard/repository.go @@ -5,9 +5,9 @@ import ( "sort" "time" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" ) diff --git a/backend/internal/modules/admindashboard/repository_test.go b/backend/internal/modules/admindashboard/repository_test.go index 8ee5f89..9e346a8 100644 --- a/backend/internal/modules/admindashboard/repository_test.go +++ b/backend/internal/modules/admindashboard/repository_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" ) func TestListingDailyOverviewGroupsBySourceChannel(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/dashboard.go b/backend/internal/modules/adminfinance/dashboard.go index bea5e64..41f2af8 100644 --- a/backend/internal/modules/adminfinance/dashboard.go +++ b/backend/internal/modules/adminfinance/dashboard.go @@ -5,8 +5,8 @@ import ( "errors" "sync" - ordermodule "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/timeutil" + ordermodule "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/timeutil" ) func (r *Repository) Dashboard(ctx context.Context, query DashboardQuery) (*DashboardDTO, error) { diff --git a/backend/internal/modules/adminfinance/dashboard_test.go b/backend/internal/modules/adminfinance/dashboard_test.go index e165c3a..57431fe 100644 --- a/backend/internal/modules/adminfinance/dashboard_test.go +++ b/backend/internal/modules/adminfinance/dashboard_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/timeutil" ) func TestDailyPaidOrdersUsePaidAtAndIncludeCreatedPickups(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/disbursement_list_test.go b/backend/internal/modules/adminfinance/disbursement_list_test.go index 0611700..76b88bf 100644 --- a/backend/internal/modules/adminfinance/disbursement_list_test.go +++ b/backend/internal/modules/adminfinance/disbursement_list_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/timeutil" ) func TestDisbursementListCombinesPlatformSettlementsAndWithdrawals(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/disbursement_test.go b/backend/internal/modules/adminfinance/disbursement_test.go index 43e4135..1735c68 100644 --- a/backend/internal/modules/adminfinance/disbursement_test.go +++ b/backend/internal/modules/adminfinance/disbursement_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/timeutil" ) func TestDisbursementStatisticsUseActualPaymentTimeAndAmount(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/handler.go b/backend/internal/modules/adminfinance/handler.go index 4f6682f..53b3da8 100644 --- a/backend/internal/modules/adminfinance/handler.go +++ b/backend/internal/modules/adminfinance/handler.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/timeutil" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/timeutil" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/adminfinance/handler_test.go b/backend/internal/modules/adminfinance/handler_test.go index d19b229..b4115e5 100644 --- a/backend/internal/modules/adminfinance/handler_test.go +++ b/backend/internal/modules/adminfinance/handler_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/timeutil" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/adminfinance/helper.go b/backend/internal/modules/adminfinance/helper.go index 8c30ac4..d00268c 100644 --- a/backend/internal/modules/adminfinance/helper.go +++ b/backend/internal/modules/adminfinance/helper.go @@ -4,7 +4,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/timeutil" ) // settlementDiffThresholdCent 是判定"结算差异"的最小绝对金额(分)。 diff --git a/backend/internal/modules/adminfinance/manual_disbursement.go b/backend/internal/modules/adminfinance/manual_disbursement.go index 1c83c24..6fb2b87 100644 --- a/backend/internal/modules/adminfinance/manual_disbursement.go +++ b/backend/internal/modules/adminfinance/manual_disbursement.go @@ -8,8 +8,8 @@ import ( "fmt" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/adminfinance/manual_disbursement_test.go b/backend/internal/modules/adminfinance/manual_disbursement_test.go index 460064d..1ef3287 100644 --- a/backend/internal/modules/adminfinance/manual_disbursement_test.go +++ b/backend/internal/modules/adminfinance/manual_disbursement_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/timeutil" ) func TestManualDisbursementCreateAndVoid(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/operating_expense.go b/backend/internal/modules/adminfinance/operating_expense.go index 41e196c..277ac78 100644 --- a/backend/internal/modules/adminfinance/operating_expense.go +++ b/backend/internal/modules/adminfinance/operating_expense.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/adminfinance/operating_expense_test.go b/backend/internal/modules/adminfinance/operating_expense_test.go index eb81cec..84c04e8 100644 --- a/backend/internal/modules/adminfinance/operating_expense_test.go +++ b/backend/internal/modules/adminfinance/operating_expense_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/timeutil" ) func TestOperatingExpenseCreateListAndVoid(t *testing.T) { diff --git a/backend/internal/modules/adminfinance/service.go b/backend/internal/modules/adminfinance/service.go index b54179d..d69e709 100644 --- a/backend/internal/modules/adminfinance/service.go +++ b/backend/internal/modules/adminfinance/service.go @@ -7,7 +7,7 @@ import ( "strings" "unicode/utf8" - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" ) var ( diff --git a/backend/internal/modules/adminmgr/dto.go b/backend/internal/modules/adminmgr/dto.go index 5092957..2436bcf 100644 --- a/backend/internal/modules/adminmgr/dto.go +++ b/backend/internal/modules/adminmgr/dto.go @@ -3,7 +3,7 @@ package adminmgr import ( "time" - "hfb_sys/backend/internal/modules/adminrole" + "hfb_jysh/backend/internal/modules/adminrole" ) type AdminUserDTO struct { diff --git a/backend/internal/modules/adminmgr/handler.go b/backend/internal/modules/adminmgr/handler.go index 4e32e8c..1cac532 100644 --- a/backend/internal/modules/adminmgr/handler.go +++ b/backend/internal/modules/adminmgr/handler.go @@ -5,8 +5,8 @@ import ( "net/http" "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" ) diff --git a/backend/internal/modules/adminmgr/repository.go b/backend/internal/modules/adminmgr/repository.go index 0c22a7d..2d22065 100644 --- a/backend/internal/modules/adminmgr/repository.go +++ b/backend/internal/modules/adminmgr/repository.go @@ -5,10 +5,10 @@ import ( "errors" "fmt" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/adminrole" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/adminrole" "github.com/redis/go-redis/v9" "golang.org/x/crypto/bcrypt" diff --git a/backend/internal/modules/adminnotification/handler.go b/backend/internal/modules/adminnotification/handler.go index 5b1ab50..221d532 100644 --- a/backend/internal/modules/adminnotification/handler.go +++ b/backend/internal/modules/adminnotification/handler.go @@ -5,8 +5,8 @@ import ( "net/http" "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" ) diff --git a/backend/internal/modules/adminnotification/repository.go b/backend/internal/modules/adminnotification/repository.go index 69af8aa..3cdc4c3 100644 --- a/backend/internal/modules/adminnotification/repository.go +++ b/backend/internal/modules/adminnotification/repository.go @@ -3,7 +3,7 @@ package adminnotification import ( "context" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/adminnotification/repository_test.go b/backend/internal/modules/adminnotification/repository_test.go index e5530be..732d398 100644 --- a/backend/internal/modules/adminnotification/repository_test.go +++ b/backend/internal/modules/adminnotification/repository_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) func TestRepositoryUnreadCountAndMarkRead(t *testing.T) { diff --git a/backend/internal/modules/adminpush/handler.go b/backend/internal/modules/adminpush/handler.go index 81ae6be..7bbc52b 100644 --- a/backend/internal/modules/adminpush/handler.go +++ b/backend/internal/modules/adminpush/handler.go @@ -4,8 +4,8 @@ import ( "errors" "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" ) diff --git a/backend/internal/modules/adminpush/service.go b/backend/internal/modules/adminpush/service.go index cb55a9c..5b8069f 100644 --- a/backend/internal/modules/adminpush/service.go +++ b/backend/internal/modules/adminpush/service.go @@ -6,7 +6,7 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/integrations/push" + "hfb_jysh/backend/internal/integrations/push" ) var ( diff --git a/backend/internal/modules/adminrole/handler.go b/backend/internal/modules/adminrole/handler.go index efda6c2..656982c 100644 --- a/backend/internal/modules/adminrole/handler.go +++ b/backend/internal/modules/adminrole/handler.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/adminrole/repository.go b/backend/internal/modules/adminrole/repository.go index 16915fc..56f59d3 100644 --- a/backend/internal/modules/adminrole/repository.go +++ b/backend/internal/modules/adminrole/repository.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" "github.com/redis/go-redis/v9" "gorm.io/gorm" diff --git a/backend/internal/modules/adminuser/handler.go b/backend/internal/modules/adminuser/handler.go index a5c9d80..9e5a8e9 100644 --- a/backend/internal/modules/adminuser/handler.go +++ b/backend/internal/modules/adminuser/handler.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/adminuser/repository.go b/backend/internal/modules/adminuser/repository.go index 59e0ab3..45b7d53 100644 --- a/backend/internal/modules/adminuser/repository.go +++ b/backend/internal/modules/adminuser/repository.go @@ -8,13 +8,13 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/realname" - "hfb_sys/backend/internal/modules/rentergrowth" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/realname" + "hfb_jysh/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/pkg/crypto" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/adminuser/repository_test.go b/backend/internal/modules/adminuser/repository_test.go index cc2d4e3..20d0b0c 100644 --- a/backend/internal/modules/adminuser/repository_test.go +++ b/backend/internal/modules/adminuser/repository_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/rentergrowth" "gorm.io/gorm" ) diff --git a/backend/internal/modules/adminuser/service.go b/backend/internal/modules/adminuser/service.go index 14b43f7..9ec9781 100644 --- a/backend/internal/modules/adminuser/service.go +++ b/backend/internal/modules/adminuser/service.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "hfb_sys/backend/internal/modules/realname" + "hfb_jysh/backend/internal/modules/realname" ) var ( diff --git a/backend/internal/modules/adtracking/handler.go b/backend/internal/modules/adtracking/handler.go index 67d3527..0941c87 100644 --- a/backend/internal/modules/adtracking/handler.go +++ b/backend/internal/modules/adtracking/handler.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/announcement/handler.go b/backend/internal/modules/announcement/handler.go index 66ba48d..8684e6b 100644 --- a/backend/internal/modules/announcement/handler.go +++ b/backend/internal/modules/announcement/handler.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "gorm.io/gorm" diff --git a/backend/internal/modules/announcement/repository.go b/backend/internal/modules/announcement/repository.go index 031b38b..7d500db 100644 --- a/backend/internal/modules/announcement/repository.go +++ b/backend/internal/modules/announcement/repository.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/announcement/repository_test.go b/backend/internal/modules/announcement/repository_test.go index 194a9d6..788ec54 100644 --- a/backend/internal/modules/announcement/repository_test.go +++ b/backend/internal/modules/announcement/repository_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) // TestPublicScopeAndSiteIsolation 覆盖公告中心的分站可见范围: diff --git a/backend/internal/modules/auth/handler.go b/backend/internal/modules/auth/handler.go index 9490473..32eda56 100644 --- a/backend/internal/modules/auth/handler.go +++ b/backend/internal/modules/auth/handler.go @@ -6,8 +6,8 @@ import ( "net/http" "strings" - "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" ) diff --git a/backend/internal/modules/auth/repository.go b/backend/internal/modules/auth/repository.go index 9ca1698..98d65a7 100644 --- a/backend/internal/modules/auth/repository.go +++ b/backend/internal/modules/auth/repository.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/auth/service.go b/backend/internal/modules/auth/service.go index 817ff03..1097364 100644 --- a/backend/internal/modules/auth/service.go +++ b/backend/internal/modules/auth/service.go @@ -10,10 +10,10 @@ import ( "strings" "time" - "hfb_sys/backend/internal/captcha" - smsprovider "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/captcha" + smsprovider "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/modules/auth/sms_resolver_test.go b/backend/internal/modules/auth/sms_resolver_test.go index 9ce6775..6cd18c5 100644 --- a/backend/internal/modules/auth/sms_resolver_test.go +++ b/backend/internal/modules/auth/sms_resolver_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - smsprovider "hfb_sys/backend/internal/integrations/sms" + smsprovider "hfb_jysh/backend/internal/integrations/sms" "github.com/redis/go-redis/v9" "go.uber.org/zap" diff --git a/backend/internal/modules/auth/token_version_test.go b/backend/internal/modules/auth/token_version_test.go index 0e24329..edeec90 100644 --- a/backend/internal/modules/auth/token_version_test.go +++ b/backend/internal/modules/auth/token_version_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) func TestUserTokenVersionRevokesAccessAndRefreshTokens(t *testing.T) { diff --git a/backend/internal/modules/backupmonitor/handler.go b/backend/internal/modules/backupmonitor/handler.go index b9517eb..2f6939f 100644 --- a/backend/internal/modules/backupmonitor/handler.go +++ b/backend/internal/modules/backupmonitor/handler.go @@ -6,7 +6,7 @@ import ( "net/http" "os" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/adapter.go b/backend/internal/modules/chat/adapter.go index 0889d7a..68181af 100644 --- a/backend/internal/modules/chat/adapter.go +++ b/backend/internal/modules/chat/adapter.go @@ -2,7 +2,7 @@ package chat import ( "gorm.io/gorm" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // ListingChatCreatorAdapter 适配器,实现 listing.ListingChatCreator 接口 diff --git a/backend/internal/modules/chat/admin_list_test.go b/backend/internal/modules/chat/admin_list_test.go index 422f18a..0742a5e 100644 --- a/backend/internal/modules/chat/admin_list_test.go +++ b/backend/internal/modules/chat/admin_list_test.go @@ -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" ) diff --git a/backend/internal/modules/chat/conversation.go b/backend/internal/modules/chat/conversation.go index ab03bd9..4d761d6 100644 --- a/backend/internal/modules/chat/conversation.go +++ b/backend/internal/modules/chat/conversation.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/chat/conversation_test.go b/backend/internal/modules/chat/conversation_test.go index 0e2bcb9..f61dd82 100644 --- a/backend/internal/modules/chat/conversation_test.go +++ b/backend/internal/modules/chat/conversation_test.go @@ -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" ) diff --git a/backend/internal/modules/chat/export.go b/backend/internal/modules/chat/export.go index a2b1927..71eee3b 100644 --- a/backend/internal/modules/chat/export.go +++ b/backend/internal/modules/chat/export.go @@ -1,7 +1,7 @@ package chat import ( - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/chat/handler_admin.go b/backend/internal/modules/chat/handler_admin.go index ab3a6a2..ec125b7 100644 --- a/backend/internal/modules/chat/handler_admin.go +++ b/backend/internal/modules/chat/handler_admin.go @@ -1,7 +1,7 @@ package chat import ( - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/handler_common.go b/backend/internal/modules/chat/handler_common.go index 7131084..3fbfd4a 100644 --- a/backend/internal/modules/chat/handler_common.go +++ b/backend/internal/modules/chat/handler_common.go @@ -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" ) diff --git a/backend/internal/modules/chat/handler_error.go b/backend/internal/modules/chat/handler_error.go index cf34b8e..0a4025f 100644 --- a/backend/internal/modules/chat/handler_error.go +++ b/backend/internal/modules/chat/handler_error.go @@ -5,7 +5,7 @@ import ( "errors" "net/http" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/handler_parse.go b/backend/internal/modules/chat/handler_parse.go index 3f1406f..67e8525 100644 --- a/backend/internal/modules/chat/handler_parse.go +++ b/backend/internal/modules/chat/handler_parse.go @@ -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" ) diff --git a/backend/internal/modules/chat/handler_qrcode.go b/backend/internal/modules/chat/handler_qrcode.go index a57ac3a..b485e9d 100644 --- a/backend/internal/modules/chat/handler_qrcode.go +++ b/backend/internal/modules/chat/handler_qrcode.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/handler_quick_reply.go b/backend/internal/modules/chat/handler_quick_reply.go index 48e0b93..dbcfff9 100644 --- a/backend/internal/modules/chat/handler_quick_reply.go +++ b/backend/internal/modules/chat/handler_quick_reply.go @@ -1,7 +1,7 @@ package chat import ( - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/handler_user.go b/backend/internal/modules/chat/handler_user.go index b9636da..e12fb6a 100644 --- a/backend/internal/modules/chat/handler_user.go +++ b/backend/internal/modules/chat/handler_user.go @@ -1,7 +1,7 @@ package chat import ( - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/chat/listing_group.go b/backend/internal/modules/chat/listing_group.go index aa832da..0d27191 100644 --- a/backend/internal/modules/chat/listing_group.go +++ b/backend/internal/modules/chat/listing_group.go @@ -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" ) // 会话类型常量 diff --git a/backend/internal/modules/chat/message.go b/backend/internal/modules/chat/message.go index 44f7b89..6bd0c8e 100644 --- a/backend/internal/modules/chat/message.go +++ b/backend/internal/modules/chat/message.go @@ -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" ) diff --git a/backend/internal/modules/chat/participant.go b/backend/internal/modules/chat/participant.go index 463498b..ed1ca56 100644 --- a/backend/internal/modules/chat/participant.go +++ b/backend/internal/modules/chat/participant.go @@ -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" ) diff --git a/backend/internal/modules/chat/qrcode.go b/backend/internal/modules/chat/qrcode.go index 5f0a382..47556dd 100644 --- a/backend/internal/modules/chat/qrcode.go +++ b/backend/internal/modules/chat/qrcode.go @@ -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 二维码状态常量 diff --git a/backend/internal/modules/chat/qrcode_ocr.go b/backend/internal/modules/chat/qrcode_ocr.go index d7322e9..04807cc 100644 --- a/backend/internal/modules/chat/qrcode_ocr.go +++ b/backend/internal/modules/chat/qrcode_ocr.go @@ -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" diff --git a/backend/internal/modules/chat/qrcode_test.go b/backend/internal/modules/chat/qrcode_test.go index 47e4322..1d440b4 100644 --- a/backend/internal/modules/chat/qrcode_test.go +++ b/backend/internal/modules/chat/qrcode_test.go @@ -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" ) diff --git a/backend/internal/modules/chat/quick_reply.go b/backend/internal/modules/chat/quick_reply.go index 1f4d7ee..2be6ada 100644 --- a/backend/internal/modules/chat/quick_reply.go +++ b/backend/internal/modules/chat/quick_reply.go @@ -3,7 +3,7 @@ package chat import ( "context" "errors" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "strings" "gorm.io/gorm" diff --git a/backend/internal/modules/chat/repository.go b/backend/internal/modules/chat/repository.go index c1312d5..d5f65e7 100644 --- a/backend/internal/modules/chat/repository.go +++ b/backend/internal/modules/chat/repository.go @@ -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 { diff --git a/backend/internal/modules/chat/support.go b/backend/internal/modules/chat/support.go index 7e1a761..c972384 100644 --- a/backend/internal/modules/chat/support.go +++ b/backend/internal/modules/chat/support.go @@ -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" ) diff --git a/backend/internal/modules/chat/support_scene.go b/backend/internal/modules/chat/support_scene.go index c8287e7..7a16d93 100644 --- a/backend/internal/modules/chat/support_scene.go +++ b/backend/internal/modules/chat/support_scene.go @@ -3,7 +3,7 @@ package chat import ( "strings" - "hfb_sys/backend/internal/modules/supportgroup" + "hfb_jysh/backend/internal/modules/supportgroup" "gorm.io/gorm" ) diff --git a/backend/internal/modules/chathub/handler.go b/backend/internal/modules/chathub/handler.go index 242061b..8dea1d5 100644 --- a/backend/internal/modules/chathub/handler.go +++ b/backend/internal/modules/chathub/handler.go @@ -5,8 +5,8 @@ import ( "fmt" "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" "go.uber.org/zap" diff --git a/backend/internal/modules/chathub/handler_test.go b/backend/internal/modules/chathub/handler_test.go index c1cd039..3f5408b 100644 --- a/backend/internal/modules/chathub/handler_test.go +++ b/backend/internal/modules/chathub/handler_test.go @@ -6,7 +6,7 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/middleware" + "hfb_jysh/backend/internal/middleware" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/modules/csmanualentry/handler.go b/backend/internal/modules/csmanualentry/handler.go index 5b42f7a..909e84d 100644 --- a/backend/internal/modules/csmanualentry/handler.go +++ b/backend/internal/modules/csmanualentry/handler.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/csmanualentry/repository.go b/backend/internal/modules/csmanualentry/repository.go index 69cf0bb..b20a325 100644 --- a/backend/internal/modules/csmanualentry/repository.go +++ b/backend/internal/modules/csmanualentry/repository.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" ) diff --git a/backend/internal/modules/csmanualentry/repository_test.go b/backend/internal/modules/csmanualentry/repository_test.go index c310aed..a0948fe 100644 --- a/backend/internal/modules/csmanualentry/repository_test.go +++ b/backend/internal/modules/csmanualentry/repository_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/csmanualentry/service.go b/backend/internal/modules/csmanualentry/service.go index 510e0be..497854e 100644 --- a/backend/internal/modules/csmanualentry/service.go +++ b/backend/internal/modules/csmanualentry/service.go @@ -5,7 +5,7 @@ import ( "strings" "unicode/utf8" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/timeutil" ) const ( diff --git a/backend/internal/modules/dispute/arbitration.go b/backend/internal/modules/dispute/arbitration.go index 35ae953..4e59fc9 100644 --- a/backend/internal/modules/dispute/arbitration.go +++ b/backend/internal/modules/dispute/arbitration.go @@ -7,17 +7,17 @@ import ( "math" "time" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/adminnotification" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/notification" - ordermodule "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/rentergrowth" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/adminnotification" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/notification" + ordermodule "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/pkg/money" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/dispute/arbitration_deposit_hold_distribution_test.go b/backend/internal/modules/dispute/arbitration_deposit_hold_distribution_test.go index 5d8c29c..3c272f0 100644 --- a/backend/internal/modules/dispute/arbitration_deposit_hold_distribution_test.go +++ b/backend/internal/modules/dispute/arbitration_deposit_hold_distribution_test.go @@ -5,8 +5,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" ) diff --git a/backend/internal/modules/dispute/audit.go b/backend/internal/modules/dispute/audit.go index ef862f5..4d0263e 100644 --- a/backend/internal/modules/dispute/audit.go +++ b/backend/internal/modules/dispute/audit.go @@ -1,7 +1,7 @@ package dispute import ( - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" "gorm.io/gorm" ) diff --git a/backend/internal/modules/dispute/cancel.go b/backend/internal/modules/dispute/cancel.go index 5791242..0a31477 100644 --- a/backend/internal/modules/dispute/cancel.go +++ b/backend/internal/modules/dispute/cancel.go @@ -4,9 +4,9 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - ordermodule "hfb_sys/backend/internal/modules/order" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + ordermodule "hfb_jysh/backend/internal/modules/order" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/dispute/dto.go b/backend/internal/modules/dispute/dto.go index 272ea54..e3af719 100644 --- a/backend/internal/modules/dispute/dto.go +++ b/backend/internal/modules/dispute/dto.go @@ -3,7 +3,7 @@ package dispute import ( "time" - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/dispute/handler.go b/backend/internal/modules/dispute/handler.go index af1d1ee..8a09212 100644 --- a/backend/internal/modules/dispute/handler.go +++ b/backend/internal/modules/dispute/handler.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/dispute/mutation.go b/backend/internal/modules/dispute/mutation.go index a3f12bd..f00644d 100644 --- a/backend/internal/modules/dispute/mutation.go +++ b/backend/internal/modules/dispute/mutation.go @@ -4,8 +4,8 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/dispute/presenter.go b/backend/internal/modules/dispute/presenter.go index 18069df..1800f1e 100644 --- a/backend/internal/modules/dispute/presenter.go +++ b/backend/internal/modules/dispute/presenter.go @@ -3,7 +3,7 @@ package dispute import ( "encoding/json" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/dispute/repository_test.go b/backend/internal/modules/dispute/repository_test.go index f5c5bc0..085cca9 100644 --- a/backend/internal/modules/dispute/repository_test.go +++ b/backend/internal/modules/dispute/repository_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - ordermodule "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + ordermodule "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/distribution/announcement.go b/backend/internal/modules/distribution/announcement.go index f2192a6..2f78eba 100644 --- a/backend/internal/modules/distribution/announcement.go +++ b/backend/internal/modules/distribution/announcement.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/distribution/announcement_test.go b/backend/internal/modules/distribution/announcement_test.go index fbbe532..866eedd 100644 --- a/backend/internal/modules/distribution/announcement_test.go +++ b/backend/internal/modules/distribution/announcement_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // TestSiteAnnouncementCRUDIsSiteScoped 验证站长自助公告只能读写本站数据: diff --git a/backend/internal/modules/distribution/auth_onboard_test.go b/backend/internal/modules/distribution/auth_onboard_test.go index 98f02df..6fd0e54 100644 --- a/backend/internal/modules/distribution/auth_onboard_test.go +++ b/backend/internal/modules/distribution/auth_onboard_test.go @@ -9,8 +9,8 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/auth" ) func TestOnboardSiteAndLoginFlow(t *testing.T) { diff --git a/backend/internal/modules/distribution/handler.go b/backend/internal/modules/distribution/handler.go index 33c5cd3..a09db0d 100644 --- a/backend/internal/modules/distribution/handler.go +++ b/backend/internal/modules/distribution/handler.go @@ -6,9 +6,9 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/distribution/handler_integration_test.go b/backend/internal/modules/distribution/handler_integration_test.go index fa5feec..93b450e 100644 --- a/backend/internal/modules/distribution/handler_integration_test.go +++ b/backend/internal/modules/distribution/handler_integration_test.go @@ -13,9 +13,9 @@ import ( "gorm.io/datatypes" "gorm.io/gorm" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/auth" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/auth" ) type handlerTestEnv struct { diff --git a/backend/internal/modules/distribution/lifecycle.go b/backend/internal/modules/distribution/lifecycle.go index 5f23fa1..3e81209 100644 --- a/backend/internal/modules/distribution/lifecycle.go +++ b/backend/internal/modules/distribution/lifecycle.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/distribution/lifecycle_test.go b/backend/internal/modules/distribution/lifecycle_test.go index 5006544..d91966c 100644 --- a/backend/internal/modules/distribution/lifecycle_test.go +++ b/backend/internal/modules/distribution/lifecycle_test.go @@ -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" ) diff --git a/backend/internal/modules/distribution/refund_checkout_status_test.go b/backend/internal/modules/distribution/refund_checkout_status_test.go index 9a12fb6..4738ab4 100644 --- a/backend/internal/modules/distribution/refund_checkout_status_test.go +++ b/backend/internal/modules/distribution/refund_checkout_status_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // TestApplyRefundTxUsesAgreedCheckoutActualRent 覆盖 ApplyRefundTx 的结账单分支: diff --git a/backend/internal/modules/distribution/release.go b/backend/internal/modules/distribution/release.go index 0da56fc..e7f9d8d 100644 --- a/backend/internal/modules/distribution/release.go +++ b/backend/internal/modules/distribution/release.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/distribution/release_test.go b/backend/internal/modules/distribution/release_test.go index 8f4ad11..2f35887 100644 --- a/backend/internal/modules/distribution/release_test.go +++ b/backend/internal/modules/distribution/release_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) func TestApplyRefundTxSetsReleaseAtForCompletedOrder(t *testing.T) { diff --git a/backend/internal/modules/distribution/repository.go b/backend/internal/modules/distribution/repository.go index c6d2376..2b6f253 100644 --- a/backend/internal/modules/distribution/repository.go +++ b/backend/internal/modules/distribution/repository.go @@ -12,12 +12,12 @@ import ( "sync" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/model" - listingpkg "hfb_sys/backend/internal/modules/listing" - "hfb_sys/backend/internal/modules/systemconfig" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/model" + listingpkg "hfb_jysh/backend/internal/modules/listing" + "hfb_jysh/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/pkg/crypto" "github.com/redis/go-redis/v9" "golang.org/x/crypto/bcrypt" diff --git a/backend/internal/modules/distribution/repository_test.go b/backend/internal/modules/distribution/repository_test.go index 0a0f444..4cdaac5 100644 --- a/backend/internal/modules/distribution/repository_test.go +++ b/backend/internal/modules/distribution/repository_test.go @@ -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/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/distribution/service.go b/backend/internal/modules/distribution/service.go index 59c23c0..65d8b30 100644 --- a/backend/internal/modules/distribution/service.go +++ b/backend/internal/modules/distribution/service.go @@ -5,8 +5,8 @@ import ( "errors" "strings" - smsprovider "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/modules/auth" + smsprovider "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/modules/auth" ) var ErrDependencyUnavailable = errors.New("distribution dependency unavailable") diff --git a/backend/internal/modules/distribution/settlement_batch_stale_test.go b/backend/internal/modules/distribution/settlement_batch_stale_test.go index 69cd9aa..4e51025 100644 --- a/backend/internal/modules/distribution/settlement_batch_stale_test.go +++ b/backend/internal/modules/distribution/settlement_batch_stale_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // TestMarkSettlementBatchRejectsWhenOrderRefunded 断言人工批次创建后若发生退款调减, diff --git a/backend/internal/modules/distribution/settlement_default_test.go b/backend/internal/modules/distribution/settlement_default_test.go index 3e92c07..cf663a7 100644 --- a/backend/internal/modules/distribution/settlement_default_test.go +++ b/backend/internal/modules/distribution/settlement_default_test.go @@ -3,8 +3,8 @@ package distribution import ( "testing" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/systemconfig" ) // TestCreateSiteUsesConfiguredDefaultSettlementHoldDays 验证新建站点未显式传值时读取系统配置的默认冷却天数。 diff --git a/backend/internal/modules/distribution/settlement_guard_test.go b/backend/internal/modules/distribution/settlement_guard_test.go index a9b82f0..71efdcb 100644 --- a/backend/internal/modules/distribution/settlement_guard_test.go +++ b/backend/internal/modules/distribution/settlement_guard_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/distribution/shelf.go b/backend/internal/modules/distribution/shelf.go index 3cec47d..b3d55c4 100644 --- a/backend/internal/modules/distribution/shelf.go +++ b/backend/internal/modules/distribution/shelf.go @@ -4,7 +4,7 @@ import ( "strings" "sync" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/distribution/shelf_test.go b/backend/internal/modules/distribution/shelf_test.go index acab2e4..98a7dc3 100644 --- a/backend/internal/modules/distribution/shelf_test.go +++ b/backend/internal/modules/distribution/shelf_test.go @@ -3,7 +3,7 @@ package distribution import ( "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/distribution/site_crud_test.go b/backend/internal/modules/distribution/site_crud_test.go index 4bc9a8e..06429e6 100644 --- a/backend/internal/modules/distribution/site_crud_test.go +++ b/backend/internal/modules/distribution/site_crud_test.go @@ -4,7 +4,7 @@ import ( "testing" "golang.org/x/crypto/bcrypt" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) func TestSiteCRUD_UpdateSiteAndDomainUniqueness(t *testing.T) { diff --git a/backend/internal/modules/distribution/sms_business_templates_test.go b/backend/internal/modules/distribution/sms_business_templates_test.go index 1361737..4defec5 100644 --- a/backend/internal/modules/distribution/sms_business_templates_test.go +++ b/backend/internal/modules/distribution/sms_business_templates_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "hfb_sys/backend/internal/model" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/model" + smsnode "hfb_jysh/backend/internal/modules/sms" "go.uber.org/zap" ) diff --git a/backend/internal/modules/distribution/sms_resolver.go b/backend/internal/modules/distribution/sms_resolver.go index aa2b823..df6f7c9 100644 --- a/backend/internal/modules/distribution/sms_resolver.go +++ b/backend/internal/modules/distribution/sms_resolver.go @@ -13,9 +13,9 @@ import ( "sync" "time" - smsprovider "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/model" - smsnode "hfb_sys/backend/internal/modules/sms" + smsprovider "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/model" + smsnode "hfb_jysh/backend/internal/modules/sms" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/distribution/sms_resolver_test.go b/backend/internal/modules/distribution/sms_resolver_test.go index 06de0f9..14332be 100644 --- a/backend/internal/modules/distribution/sms_resolver_test.go +++ b/backend/internal/modules/distribution/sms_resolver_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/pkg/crypto" "go.uber.org/zap" ) diff --git a/backend/internal/modules/file/handler.go b/backend/internal/modules/file/handler.go index f82586c..9586c91 100644 --- a/backend/internal/modules/file/handler.go +++ b/backend/internal/modules/file/handler.go @@ -6,8 +6,8 @@ import ( "net/http" "strings" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/modules/file/storage.go b/backend/internal/modules/file/storage.go index 322aeaa..c2a0a81 100644 --- a/backend/internal/modules/file/storage.go +++ b/backend/internal/modules/file/storage.go @@ -14,7 +14,7 @@ import ( "sync" "time" - "hfb_sys/backend/internal/config" + "hfb_jysh/backend/internal/config" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" diff --git a/backend/internal/modules/invitation/admin_filters_test.go b/backend/internal/modules/invitation/admin_filters_test.go index 9d8c3b3..c6a5c51 100644 --- a/backend/internal/modules/invitation/admin_filters_test.go +++ b/backend/internal/modules/invitation/admin_filters_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/invitation/combinations_test.go b/backend/internal/modules/invitation/combinations_test.go index f59ff35..b583587 100644 --- a/backend/internal/modules/invitation/combinations_test.go +++ b/backend/internal/modules/invitation/combinations_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // ============================================================================= diff --git a/backend/internal/modules/invitation/handler.go b/backend/internal/modules/invitation/handler.go index ee68286..0e1386a 100644 --- a/backend/internal/modules/invitation/handler.go +++ b/backend/internal/modules/invitation/handler.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/invitation/repository.go b/backend/internal/modules/invitation/repository.go index d1bb9c7..15f4f49 100644 --- a/backend/internal/modules/invitation/repository.go +++ b/backend/internal/modules/invitation/repository.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/invitation/repository_test.go b/backend/internal/modules/invitation/repository_test.go index bd2fba9..58e34a0 100644 --- a/backend/internal/modules/invitation/repository_test.go +++ b/backend/internal/modules/invitation/repository_test.go @@ -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" ) diff --git a/backend/internal/modules/listing/admin_filter_test.go b/backend/internal/modules/listing/admin_filter_test.go index b775505..7d763c5 100644 --- a/backend/internal/modules/listing/admin_filter_test.go +++ b/backend/internal/modules/listing/admin_filter_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "hfb_sys/backend/internal/database" + "hfb_jysh/backend/internal/database" ) func TestFilterAdminListingsByAssetLevels(t *testing.T) { diff --git a/backend/internal/modules/listing/audit.go b/backend/internal/modules/listing/audit.go index 7d1a739..018620c 100644 --- a/backend/internal/modules/listing/audit.go +++ b/backend/internal/modules/listing/audit.go @@ -1,7 +1,7 @@ package listing import ( - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" "gorm.io/gorm" ) diff --git a/backend/internal/modules/listing/collection.go b/backend/internal/modules/listing/collection.go index adb2ac7..ba9815e 100644 --- a/backend/internal/modules/listing/collection.go +++ b/backend/internal/modules/listing/collection.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/listing/dto.go b/backend/internal/modules/listing/dto.go index 057645f..d15b877 100644 --- a/backend/internal/modules/listing/dto.go +++ b/backend/internal/modules/listing/dto.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" ) type ListingDTO struct { diff --git a/backend/internal/modules/listing/external_adjustment.go b/backend/internal/modules/listing/external_adjustment.go index 7a8f75a..42fc219 100644 --- a/backend/internal/modules/listing/external_adjustment.go +++ b/backend/internal/modules/listing/external_adjustment.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/systemconfig" "gorm.io/gorm" ) diff --git a/backend/internal/modules/listing/external_adjustment_test.go b/backend/internal/modules/listing/external_adjustment_test.go index 397dfe7..42ec378 100644 --- a/backend/internal/modules/listing/external_adjustment_test.go +++ b/backend/internal/modules/listing/external_adjustment_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/systemconfig" "gorm.io/gorm" ) diff --git a/backend/internal/modules/listing/external_publish_options_test.go b/backend/internal/modules/listing/external_publish_options_test.go index 634ca3c..b27a16d 100644 --- a/backend/internal/modules/listing/external_publish_options_test.go +++ b/backend/internal/modules/listing/external_publish_options_test.go @@ -3,7 +3,7 @@ package listing import ( "testing" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" ) // 外部上传必须按后台实时配置归类皮肤、按配置单价折算消耗品。 diff --git a/backend/internal/modules/listing/external_upload.go b/backend/internal/modules/listing/external_upload.go index 16ab47d..35a5c26 100644 --- a/backend/internal/modules/listing/external_upload.go +++ b/backend/internal/modules/listing/external_upload.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" ) var externalOnlineTimePattern = regexp.MustCompile(`^\D*(\d{1,2})(?:\s*[::点.]\s*(\d{1,2}))?\D+(\d{1,2})(?:\s*[::点.]\s*(\d{1,2}))?\D*$`) diff --git a/backend/internal/modules/listing/handler.go b/backend/internal/modules/listing/handler.go index 5f6a467..e30c7ea 100644 --- a/backend/internal/modules/listing/handler.go +++ b/backend/internal/modules/listing/handler.go @@ -1,7 +1,7 @@ package listing import ( - filemodule "hfb_sys/backend/internal/modules/file" + filemodule "hfb_jysh/backend/internal/modules/file" ) type Handler struct { diff --git a/backend/internal/modules/listing/handler_admin.go b/backend/internal/modules/listing/handler_admin.go index 4620f9a..7fdc6ee 100644 --- a/backend/internal/modules/listing/handler_admin.go +++ b/backend/internal/modules/listing/handler_admin.go @@ -3,8 +3,8 @@ package listing import ( "context" - "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" ) diff --git a/backend/internal/modules/listing/handler_collection.go b/backend/internal/modules/listing/handler_collection.go index cd2cc65..a143c31 100644 --- a/backend/internal/modules/listing/handler_collection.go +++ b/backend/internal/modules/listing/handler_collection.go @@ -4,7 +4,7 @@ import ( "errors" "strconv" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "gorm.io/gorm" diff --git a/backend/internal/modules/listing/handler_error.go b/backend/internal/modules/listing/handler_error.go index be4be34..d1e6e87 100644 --- a/backend/internal/modules/listing/handler_error.go +++ b/backend/internal/modules/listing/handler_error.go @@ -7,7 +7,7 @@ import ( "strconv" "time" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/listing/handler_external.go b/backend/internal/modules/listing/handler_external.go index 9aed7a5..753bb8b 100644 --- a/backend/internal/modules/listing/handler_external.go +++ b/backend/internal/modules/listing/handler_external.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/listing/handler_parse.go b/backend/internal/modules/listing/handler_parse.go index 4b55f47..43aa376 100644 --- a/backend/internal/modules/listing/handler_parse.go +++ b/backend/internal/modules/listing/handler_parse.go @@ -4,9 +4,9 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/listing/handler_public.go b/backend/internal/modules/listing/handler_public.go index 763f1a9..94236ea 100644 --- a/backend/internal/modules/listing/handler_public.go +++ b/backend/internal/modules/listing/handler_public.go @@ -4,9 +4,9 @@ import ( "net/http" "strconv" - filemodule "hfb_sys/backend/internal/modules/file" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + filemodule "hfb_jysh/backend/internal/modules/file" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/listing/handler_user.go b/backend/internal/modules/listing/handler_user.go index 684cdf6..5c8dc01 100644 --- a/backend/internal/modules/listing/handler_user.go +++ b/backend/internal/modules/listing/handler_user.go @@ -1,8 +1,8 @@ package listing import ( - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "strings" "github.com/gin-gonic/gin" diff --git a/backend/internal/modules/listing/mutation.go b/backend/internal/modules/listing/mutation.go index 5a97afb..620209c 100644 --- a/backend/internal/modules/listing/mutation.go +++ b/backend/internal/modules/listing/mutation.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/listing/presenter.go b/backend/internal/modules/listing/presenter.go index 015de05..9a07f8b 100644 --- a/backend/internal/modules/listing/presenter.go +++ b/backend/internal/modules/listing/presenter.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/listing/pricing_cent.go b/backend/internal/modules/listing/pricing_cent.go index 56a4588..6350f72 100644 --- a/backend/internal/modules/listing/pricing_cent.go +++ b/backend/internal/modules/listing/pricing_cent.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/modules/systemconfig" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/modules/systemconfig" + "hfb_jysh/backend/pkg/money" ) const ( diff --git a/backend/internal/modules/listing/pricing_cent_test.go b/backend/internal/modules/listing/pricing_cent_test.go index 3bbd812..26e6dd6 100644 --- a/backend/internal/modules/listing/pricing_cent_test.go +++ b/backend/internal/modules/listing/pricing_cent_test.go @@ -3,7 +3,7 @@ package listing import ( "testing" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" ) func TestSellerCoinBasePriceCentUsesIntegerFormula(t *testing.T) { diff --git a/backend/internal/modules/listing/query.go b/backend/internal/modules/listing/query.go index 547d717..3ffab49 100644 --- a/backend/internal/modules/listing/query.go +++ b/backend/internal/modules/listing/query.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/listing/receive_pricing.go b/backend/internal/modules/listing/receive_pricing.go index b538f91..62f56f8 100644 --- a/backend/internal/modules/listing/receive_pricing.go +++ b/backend/internal/modules/listing/receive_pricing.go @@ -6,7 +6,7 @@ import ( "math" "strings" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/listing/receive_pricing_test.go b/backend/internal/modules/listing/receive_pricing_test.go index fe9e2cc..1fa538e 100644 --- a/backend/internal/modules/listing/receive_pricing_test.go +++ b/backend/internal/modules/listing/receive_pricing_test.go @@ -3,7 +3,7 @@ package listing import ( "testing" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" ) func fullReceivePricingRequest(sellerRatio float64) CreateRequest { diff --git a/backend/internal/modules/listing/repository.go b/backend/internal/modules/listing/repository.go index 92a9564..f1fa4dd 100644 --- a/backend/internal/modules/listing/repository.go +++ b/backend/internal/modules/listing/repository.go @@ -6,7 +6,7 @@ import ( "time" "gorm.io/gorm" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // ListingChatCreator 发布群创建接口(由 chat 模块实现,避免直接依赖) diff --git a/backend/internal/modules/listing/review.go b/backend/internal/modules/listing/review.go index 5e14bfc..e54b8c5 100644 --- a/backend/internal/modules/listing/review.go +++ b/backend/internal/modules/listing/review.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + smsnode "hfb_jysh/backend/internal/modules/sms" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/listing/service_config.go b/backend/internal/modules/listing/service_config.go index c042f8b..b9caebb 100644 --- a/backend/internal/modules/listing/service_config.go +++ b/backend/internal/modules/listing/service_config.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/systemconfig" ) func (s *Service) reviewRequired(ctx context.Context) (bool, error) { diff --git a/backend/internal/modules/listing/service_test.go b/backend/internal/modules/listing/service_test.go index 0bd0a3b..68cb872 100644 --- a/backend/internal/modules/listing/service_test.go +++ b/backend/internal/modules/listing/service_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/systemconfig" ) type stubConfigReader map[string]string diff --git a/backend/internal/modules/listing/shelf_sync_test.go b/backend/internal/modules/listing/shelf_sync_test.go index b3f40c2..9342cd6 100644 --- a/backend/internal/modules/listing/shelf_sync_test.go +++ b/backend/internal/modules/listing/shelf_sync_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/listing" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/listing" ) // TestApproveAutoShelvesListingToAutoDisplaySites 验证商品审核通过后自动铺到 diff --git a/backend/internal/modules/listing/site_receive.go b/backend/internal/modules/listing/site_receive.go index d3b5252..e86c891 100644 --- a/backend/internal/modules/listing/site_receive.go +++ b/backend/internal/modules/listing/site_receive.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // ReceiveCostDeltaBySiteCode 读取分站收号压价点数(新口径,收号比例 = R + 点数)。 diff --git a/backend/internal/modules/listing/sms_node_test.go b/backend/internal/modules/listing/sms_node_test.go index 0270028..236a22d 100644 --- a/backend/internal/modules/listing/sms_node_test.go +++ b/backend/internal/modules/listing/sms_node_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + smsnode "hfb_jysh/backend/internal/modules/sms" ) // 审核未通过时必须给号主入队一条短信(只落库,发送交给后台任务)。 diff --git a/backend/internal/modules/mohong/category_repo.go b/backend/internal/modules/mohong/category_repo.go index 7ce5786..09a68db 100644 --- a/backend/internal/modules/mohong/category_repo.go +++ b/backend/internal/modules/mohong/category_repo.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/mohong/config.go b/backend/internal/modules/mohong/config.go index d88f12f..1c29d3a 100644 --- a/backend/internal/modules/mohong/config.go +++ b/backend/internal/modules/mohong/config.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/mohong/handler.go b/backend/internal/modules/mohong/handler.go index 6d2949b..82af722 100644 --- a/backend/internal/modules/mohong/handler.go +++ b/backend/internal/modules/mohong/handler.go @@ -5,8 +5,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/mohong/order_repo.go b/backend/internal/modules/mohong/order_repo.go index d286bf9..18cd516 100644 --- a/backend/internal/modules/mohong/order_repo.go +++ b/backend/internal/modules/mohong/order_repo.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/timeutil" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/timeutil" + "hfb_jysh/backend/pkg/money" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/mohong/presenter.go b/backend/internal/modules/mohong/presenter.go index 32ccf0c..d53a84a 100644 --- a/backend/internal/modules/mohong/presenter.go +++ b/backend/internal/modules/mohong/presenter.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/pkg/money" ) func toProductDTO(row model.MohongProduct, includeAdminFields bool) ProductDTO { diff --git a/backend/internal/modules/mohong/product_repo.go b/backend/internal/modules/mohong/product_repo.go index ae1efc3..6f7e83a 100644 --- a/backend/internal/modules/mohong/product_repo.go +++ b/backend/internal/modules/mohong/product_repo.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/notification/handler.go b/backend/internal/modules/notification/handler.go index 140db89..88f995e 100644 --- a/backend/internal/modules/notification/handler.go +++ b/backend/internal/modules/notification/handler.go @@ -4,9 +4,9 @@ import ( "errors" "strconv" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/notification/repository.go b/backend/internal/modules/notification/repository.go index 368d220..e2513c6 100644 --- a/backend/internal/modules/notification/repository.go +++ b/backend/internal/modules/notification/repository.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/notification/repository_test.go b/backend/internal/modules/notification/repository_test.go index 6522359..fc2b243 100644 --- a/backend/internal/modules/notification/repository_test.go +++ b/backend/internal/modules/notification/repository_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) func TestRepositoryUnreadCountAndMarkRead(t *testing.T) { diff --git a/backend/internal/modules/order/admin_actions.go b/backend/internal/modules/order/admin_actions.go index 1428dec..89407ba 100644 --- a/backend/internal/modules/order/admin_actions.go +++ b/backend/internal/modules/order/admin_actions.go @@ -5,9 +5,9 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/notification" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/notification" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/admin_close_release_test.go b/backend/internal/modules/order/admin_close_release_test.go index 64bc369..72d283b 100644 --- a/backend/internal/modules/order/admin_close_release_test.go +++ b/backend/internal/modules/order/admin_close_release_test.go @@ -5,8 +5,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" ) diff --git a/backend/internal/modules/order/assets.go b/backend/internal/modules/order/assets.go index 4868523..929b9c5 100644 --- a/backend/internal/modules/order/assets.go +++ b/backend/internal/modules/order/assets.go @@ -1,8 +1,8 @@ package order import ( - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/channel_paid_guard_test.go b/backend/internal/modules/order/channel_paid_guard_test.go index 03b38d2..fb18ff0 100644 --- a/backend/internal/modules/order/channel_paid_guard_test.go +++ b/backend/internal/modules/order/channel_paid_guard_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/order/checkout.go b/backend/internal/modules/order/checkout.go index 5982f57..f2d6aef 100644 --- a/backend/internal/modules/order/checkout.go +++ b/backend/internal/modules/order/checkout.go @@ -4,9 +4,9 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/checkout_finalize.go b/backend/internal/modules/order/checkout_finalize.go index 3d14646..1d03ac0 100644 --- a/backend/internal/modules/order/checkout_finalize.go +++ b/backend/internal/modules/order/checkout_finalize.go @@ -3,12 +3,12 @@ package order import ( "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/modules/rentergrowth" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" ) diff --git a/backend/internal/modules/order/constants.go b/backend/internal/modules/order/constants.go index aaa143a..132004d 100644 --- a/backend/internal/modules/order/constants.go +++ b/backend/internal/modules/order/constants.go @@ -1,6 +1,6 @@ package order -import "hfb_sys/backend/internal/model" +import "hfb_jysh/backend/internal/model" const ( orderStatusPendingPayment = "pending_payment" diff --git a/backend/internal/modules/order/deposit_hold.go b/backend/internal/modules/order/deposit_hold.go index 75c3e46..2562efb 100644 --- a/backend/internal/modules/order/deposit_hold.go +++ b/backend/internal/modules/order/deposit_hold.go @@ -4,8 +4,8 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/dto.go b/backend/internal/modules/order/dto.go index a16aaed..9626af5 100644 --- a/backend/internal/modules/order/dto.go +++ b/backend/internal/modules/order/dto.go @@ -3,7 +3,7 @@ package order import ( "time" - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/force_handoff.go b/backend/internal/modules/order/force_handoff.go index 09c5f07..9253559 100644 --- a/backend/internal/modules/order/force_handoff.go +++ b/backend/internal/modules/order/force_handoff.go @@ -5,9 +5,9 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/handler_admin.go b/backend/internal/modules/order/handler_admin.go index 3a677f7..c42c26f 100644 --- a/backend/internal/modules/order/handler_admin.go +++ b/backend/internal/modules/order/handler_admin.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "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" ) diff --git a/backend/internal/modules/order/handler_error.go b/backend/internal/modules/order/handler_error.go index 0418caa..4774b01 100644 --- a/backend/internal/modules/order/handler_error.go +++ b/backend/internal/modules/order/handler_error.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/order/handler_flow.go b/backend/internal/modules/order/handler_flow.go index 9b917e5..07d36d8 100644 --- a/backend/internal/modules/order/handler_flow.go +++ b/backend/internal/modules/order/handler_flow.go @@ -1,7 +1,7 @@ package order import ( - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/order/handler_parse.go b/backend/internal/modules/order/handler_parse.go index 9e6b083..1a6f6fd 100644 --- a/backend/internal/modules/order/handler_parse.go +++ b/backend/internal/modules/order/handler_parse.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "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" ) diff --git a/backend/internal/modules/order/handler_user.go b/backend/internal/modules/order/handler_user.go index 129a1f4..60a24a0 100644 --- a/backend/internal/modules/order/handler_user.go +++ b/backend/internal/modules/order/handler_user.go @@ -3,8 +3,8 @@ package order import ( "strings" - "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" ) diff --git a/backend/internal/modules/order/handoff.go b/backend/internal/modules/order/handoff.go index 361a31d..343dfb9 100644 --- a/backend/internal/modules/order/handoff.go +++ b/backend/internal/modules/order/handoff.go @@ -3,9 +3,9 @@ package order import ( "context" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/lifecycle.go b/backend/internal/modules/order/lifecycle.go index 7520254..bebb7fb 100644 --- a/backend/internal/modules/order/lifecycle.go +++ b/backend/internal/modules/order/lifecycle.go @@ -8,14 +8,14 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/chat" - "hfb_sys/backend/internal/modules/distribution" - listingpkg "hfb_sys/backend/internal/modules/listing" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/modules/rentergrowth" - smsnode "hfb_sys/backend/internal/modules/sms" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/chat" + "hfb_jysh/backend/internal/modules/distribution" + listingpkg "hfb_jysh/backend/internal/modules/listing" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/modules/rentergrowth" + smsnode "hfb_jysh/backend/internal/modules/sms" + "hfb_jysh/backend/internal/processlog" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/order/owner_hide.go b/backend/internal/modules/order/owner_hide.go index 61a6c96..8ffc4ae 100644 --- a/backend/internal/modules/order/owner_hide.go +++ b/backend/internal/modules/order/owner_hide.go @@ -4,7 +4,7 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/owner_hide_test.go b/backend/internal/modules/order/owner_hide_test.go index 90d358d..7461aa0 100644 --- a/backend/internal/modules/order/owner_hide_test.go +++ b/backend/internal/modules/order/owner_hide_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) func settledHistoryOrder() model.RentalOrder { diff --git a/backend/internal/modules/order/platform_managed.go b/backend/internal/modules/order/platform_managed.go index cc2895b..ab0d2e2 100644 --- a/backend/internal/modules/order/platform_managed.go +++ b/backend/internal/modules/order/platform_managed.go @@ -4,10 +4,10 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/adminnotification" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/adminnotification" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/order/presenter.go b/backend/internal/modules/order/presenter.go index b975a1c..9fb86e8 100644 --- a/backend/internal/modules/order/presenter.go +++ b/backend/internal/modules/order/presenter.go @@ -4,7 +4,7 @@ import ( "encoding/json" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/presenter_test.go b/backend/internal/modules/order/presenter_test.go index ee0702d..ac9a5c3 100644 --- a/backend/internal/modules/order/presenter_test.go +++ b/backend/internal/modules/order/presenter_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/pricing.go b/backend/internal/modules/order/pricing.go index 4395acc..10b9e95 100644 --- a/backend/internal/modules/order/pricing.go +++ b/backend/internal/modules/order/pricing.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/rentergrowth" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/pricing_cent_test.go b/backend/internal/modules/order/pricing_cent_test.go index 2baebd4..b82b3bd 100644 --- a/backend/internal/modules/order/pricing_cent_test.go +++ b/backend/internal/modules/order/pricing_cent_test.go @@ -3,7 +3,7 @@ package order import ( "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/process_events.go b/backend/internal/modules/order/process_events.go index 97343fd..7f8a0f1 100644 --- a/backend/internal/modules/order/process_events.go +++ b/backend/internal/modules/order/process_events.go @@ -3,8 +3,8 @@ package order import ( "context" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/processlog" "gorm.io/gorm" ) diff --git a/backend/internal/modules/order/queries.go b/backend/internal/modules/order/queries.go index e6ba8a9..925af4c 100644 --- a/backend/internal/modules/order/queries.go +++ b/backend/internal/modules/order/queries.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" "gorm.io/gorm" ) diff --git a/backend/internal/modules/order/refund.go b/backend/internal/modules/order/refund.go index aa96900..615b22c 100644 --- a/backend/internal/modules/order/refund.go +++ b/backend/internal/modules/order/refund.go @@ -3,8 +3,8 @@ package order import ( "context" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/order/refund_review.go b/backend/internal/modules/order/refund_review.go index 656171a..81b9ea9 100644 --- a/backend/internal/modules/order/refund_review.go +++ b/backend/internal/modules/order/refund_review.go @@ -3,7 +3,7 @@ package order import ( "context" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // ListPendingRefund 查询所有待客服审核退款的订单。 diff --git a/backend/internal/modules/order/repository.go b/backend/internal/modules/order/repository.go index b471032..e3e84a2 100644 --- a/backend/internal/modules/order/repository.go +++ b/backend/internal/modules/order/repository.go @@ -3,8 +3,8 @@ package order import ( "context" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/order/repository_integration_test.go b/backend/internal/modules/order/repository_integration_test.go index 0f7e6d7..e51a040 100644 --- a/backend/internal/modules/order/repository_integration_test.go +++ b/backend/internal/modules/order/repository_integration_test.go @@ -8,8 +8,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/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/order/repository_test.go b/backend/internal/modules/order/repository_test.go index 980ee38..bdde626 100644 --- a/backend/internal/modules/order/repository_test.go +++ b/backend/internal/modules/order/repository_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/rentergrowth" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/timeutil" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/order/sms_node_test.go b/backend/internal/modules/order/sms_node_test.go index 9906b1f..bc8dc83 100644 --- a/backend/internal/modules/order/sms_node_test.go +++ b/backend/internal/modules/order/sms_node_test.go @@ -3,8 +3,8 @@ package order import ( "testing" - "hfb_sys/backend/internal/model" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/model" + smsnode "hfb_jysh/backend/internal/modules/sms" "gorm.io/gorm" ) diff --git a/backend/internal/modules/order/utils.go b/backend/internal/modules/order/utils.go index 13dc82d..49b8ba6 100644 --- a/backend/internal/modules/order/utils.go +++ b/backend/internal/modules/order/utils.go @@ -8,8 +8,8 @@ import ( "strings" "gorm.io/gorm" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/timeutil" ) var trackCodePattern = regexp.MustCompile(`^[a-zA-Z0-9_-]{1,64}$`) diff --git a/backend/internal/modules/payment/channel_adapter.go b/backend/internal/modules/payment/channel_adapter.go index ea880e5..30e72de 100644 --- a/backend/internal/modules/payment/channel_adapter.go +++ b/backend/internal/modules/payment/channel_adapter.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "hfb_sys/backend/internal/integrations/payment/lakala" - "hfb_sys/backend/internal/integrations/payment/leshua" - "hfb_sys/backend/internal/integrations/payment/shuncheng" - "hfb_sys/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/integrations/payment/lakala" + "hfb_jysh/backend/internal/integrations/payment/leshua" + "hfb_jysh/backend/internal/integrations/payment/shuncheng" + "hfb_jysh/backend/internal/modules/paymentconfig" ) type channelClient interface { diff --git a/backend/internal/modules/payment/channel_probe.go b/backend/internal/modules/payment/channel_probe.go index 2ee6149..0208d34 100644 --- a/backend/internal/modules/payment/channel_probe.go +++ b/backend/internal/modules/payment/channel_probe.go @@ -3,7 +3,7 @@ package payment import ( "context" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" ) diff --git a/backend/internal/modules/payment/channel_status.go b/backend/internal/modules/payment/channel_status.go index 999d7b9..eecb08d 100644 --- a/backend/internal/modules/payment/channel_status.go +++ b/backend/internal/modules/payment/channel_status.go @@ -2,8 +2,8 @@ package payment import ( "context" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" "time" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/handler.go b/backend/internal/modules/payment/handler.go index c270769..442ab3e 100644 --- a/backend/internal/modules/payment/handler.go +++ b/backend/internal/modules/payment/handler.go @@ -7,13 +7,13 @@ import ( "net/http" "strconv" - "hfb_sys/backend/internal/integrations/payment/lakala" - "hfb_sys/backend/internal/integrations/payment/leshua" - "hfb_sys/backend/internal/integrations/payment/shuncheng" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/integrations/payment/lakala" + "hfb_jysh/backend/internal/integrations/payment/leshua" + "hfb_jysh/backend/internal/integrations/payment/shuncheng" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "go.uber.org/zap" diff --git a/backend/internal/modules/payment/late_paid.go b/backend/internal/modules/payment/late_paid.go index 046c097..ffb928c 100644 --- a/backend/internal/modules/payment/late_paid.go +++ b/backend/internal/modules/payment/late_paid.go @@ -5,8 +5,8 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/order" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/order" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/late_paid_test.go b/backend/internal/modules/payment/late_paid_test.go index 6e1e64d..85955e2 100644 --- a/backend/internal/modules/payment/late_paid_test.go +++ b/backend/internal/modules/payment/late_paid_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" - ordermodule "hfb_sys/backend/internal/modules/order" + "hfb_jysh/backend/internal/model" + ordermodule "hfb_jysh/backend/internal/modules/order" ) // TestConfirmPaidSettlesPaymentWhenOrderAlreadyCancelled 钉住本次事故的根因: diff --git a/backend/internal/modules/payment/mohong_payment.go b/backend/internal/modules/payment/mohong_payment.go index 8bc54ca..8a9b351 100644 --- a/backend/internal/modules/payment/mohong_payment.go +++ b/backend/internal/modules/payment/mohong_payment.go @@ -4,7 +4,7 @@ import ( "context" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/notify.go b/backend/internal/modules/payment/notify.go index 704d1c9..fce1861 100644 --- a/backend/internal/modules/payment/notify.go +++ b/backend/internal/modules/payment/notify.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/payment_start.go b/backend/internal/modules/payment/payment_start.go index 1137c55..3010a8a 100644 --- a/backend/internal/modules/payment/payment_start.go +++ b/backend/internal/modules/payment/payment_start.go @@ -5,8 +5,8 @@ import ( "encoding/json" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/presenter.go b/backend/internal/modules/payment/presenter.go index 32642a9..5b137b3 100644 --- a/backend/internal/modules/payment/presenter.go +++ b/backend/internal/modules/payment/presenter.go @@ -6,8 +6,8 @@ import ( "encoding/json" "fmt" "gorm.io/datatypes" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "math" "strings" "time" diff --git a/backend/internal/modules/payment/query.go b/backend/internal/modules/payment/query.go index c377405..0f22c7a 100644 --- a/backend/internal/modules/payment/query.go +++ b/backend/internal/modules/payment/query.go @@ -3,7 +3,7 @@ package payment import ( "context" "gorm.io/gorm" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) func (r *Repository) Query(ctx context.Context, userID uint64, orderID uint64) (*PaymentDTO, error) { diff --git a/backend/internal/modules/payment/refund.go b/backend/internal/modules/payment/refund.go index dfbccbf..146e7ee 100644 --- a/backend/internal/modules/payment/refund.go +++ b/backend/internal/modules/payment/refund.go @@ -5,9 +5,9 @@ import ( "encoding/json" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" - "hfb_sys/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/modules/rentergrowth" "go.uber.org/zap" "gorm.io/datatypes" diff --git a/backend/internal/modules/payment/refund_cumulative_test.go b/backend/internal/modules/payment/refund_cumulative_test.go index 3d7e0f1..2933c8c 100644 --- a/backend/internal/modules/payment/refund_cumulative_test.go +++ b/backend/internal/modules/payment/refund_cumulative_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/distribution" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/distribution" ) // TestUpdateOrderRefundStatusUsesCumulativeRefundedAmount 断言同一订单多笔退款时, diff --git a/backend/internal/modules/payment/refund_mohong.go b/backend/internal/modules/payment/refund_mohong.go index e1d686a..6c95305 100644 --- a/backend/internal/modules/payment/refund_mohong.go +++ b/backend/internal/modules/payment/refund_mohong.go @@ -3,7 +3,7 @@ package payment import ( "context" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/repository.go b/backend/internal/modules/payment/repository.go index 7180daf..a6e077a 100644 --- a/backend/internal/modules/payment/repository.go +++ b/backend/internal/modules/payment/repository.go @@ -4,10 +4,10 @@ import ( "context" "sort" - "hfb_sys/backend/internal/logging" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/logging" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/paymentconfig" "go.uber.org/zap" "gorm.io/gorm" diff --git a/backend/internal/modules/payment/repository_integration_test.go b/backend/internal/modules/payment/repository_integration_test.go index 52618b2..83ae54c 100644 --- a/backend/internal/modules/payment/repository_integration_test.go +++ b/backend/internal/modules/payment/repository_integration_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - ordermodule "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/internal/modules/rentergrowth" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + ordermodule "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/modules/rentergrowth" "gorm.io/gorm" ) diff --git a/backend/internal/modules/payment/repository_logic_test.go b/backend/internal/modules/payment/repository_logic_test.go index b5b7098..32b3b8d 100644 --- a/backend/internal/modules/payment/repository_logic_test.go +++ b/backend/internal/modules/payment/repository_logic_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // TestPaymentOrderStates 测试支付单状态 diff --git a/backend/internal/modules/payment/repository_test.go b/backend/internal/modules/payment/repository_test.go index dfa72df..13ad9fa 100644 --- a/backend/internal/modules/payment/repository_test.go +++ b/backend/internal/modules/payment/repository_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "gorm.io/datatypes" ) diff --git a/backend/internal/modules/paymentaccount/handler.go b/backend/internal/modules/paymentaccount/handler.go index c2d0e13..ed64ee8 100644 --- a/backend/internal/modules/paymentaccount/handler.go +++ b/backend/internal/modules/paymentaccount/handler.go @@ -1,7 +1,7 @@ package paymentaccount import ( - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "strconv" "github.com/gin-gonic/gin" diff --git a/backend/internal/modules/paymentaccount/repository.go b/backend/internal/modules/paymentaccount/repository.go index 8052329..69a7c0c 100644 --- a/backend/internal/modules/paymentaccount/repository.go +++ b/backend/internal/modules/paymentaccount/repository.go @@ -7,8 +7,8 @@ import ( "net/url" "strings" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/pkg/crypto" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/paymentaccount/repository_test.go b/backend/internal/modules/paymentaccount/repository_test.go index 9371561..f4eacc2 100644 --- a/backend/internal/modules/paymentaccount/repository_test.go +++ b/backend/internal/modules/paymentaccount/repository_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) func TestPrivateCertificateURLsConvertsLegacyPublicURL(t *testing.T) { diff --git a/backend/internal/modules/paymentconfig/audit.go b/backend/internal/modules/paymentconfig/audit.go index 305fb42..bd58b64 100644 --- a/backend/internal/modules/paymentconfig/audit.go +++ b/backend/internal/modules/paymentconfig/audit.go @@ -3,7 +3,7 @@ package paymentconfig import ( "encoding/json" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/paymentconfig/backup.go b/backend/internal/modules/paymentconfig/backup.go index 3d8b66b..397f9a9 100644 --- a/backend/internal/modules/paymentconfig/backup.go +++ b/backend/internal/modules/paymentconfig/backup.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/paymentconfig/handler.go b/backend/internal/modules/paymentconfig/handler.go index ff0ab8d..270231a 100644 --- a/backend/internal/modules/paymentconfig/handler.go +++ b/backend/internal/modules/paymentconfig/handler.go @@ -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" ) diff --git a/backend/internal/modules/paymentconfig/mutation.go b/backend/internal/modules/paymentconfig/mutation.go index 464fcec..f1b63fc 100644 --- a/backend/internal/modules/paymentconfig/mutation.go +++ b/backend/internal/modules/paymentconfig/mutation.go @@ -5,7 +5,7 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/paymentconfig/presenter.go b/backend/internal/modules/paymentconfig/presenter.go index 386f07e..f382247 100644 --- a/backend/internal/modules/paymentconfig/presenter.go +++ b/backend/internal/modules/paymentconfig/presenter.go @@ -3,7 +3,7 @@ package paymentconfig import ( "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // toDTO 转换为 DTO diff --git a/backend/internal/modules/paymentconfig/query.go b/backend/internal/modules/paymentconfig/query.go index a42a334..cde4d7e 100644 --- a/backend/internal/modules/paymentconfig/query.go +++ b/backend/internal/modules/paymentconfig/query.go @@ -6,7 +6,7 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/paymentconfig/repository.go b/backend/internal/modules/paymentconfig/repository.go index b95f0af..b250eac 100644 --- a/backend/internal/modules/paymentconfig/repository.go +++ b/backend/internal/modules/paymentconfig/repository.go @@ -1,7 +1,7 @@ package paymentconfig import ( - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" "gorm.io/gorm" ) diff --git a/backend/internal/modules/paymentconfig/repository_test.go b/backend/internal/modules/paymentconfig/repository_test.go index 3127f2a..3f97289 100644 --- a/backend/internal/modules/paymentconfig/repository_test.go +++ b/backend/internal/modules/paymentconfig/repository_test.go @@ -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) { diff --git a/backend/internal/modules/paymentconfig/usage.go b/backend/internal/modules/paymentconfig/usage.go index a7d5043..8024ba2 100644 --- a/backend/internal/modules/paymentconfig/usage.go +++ b/backend/internal/modules/paymentconfig/usage.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/pickup/clone_prod_verification_test.go b/backend/internal/modules/pickup/clone_prod_verification_test.go index 8d17927..0fdc8bb 100644 --- a/backend/internal/modules/pickup/clone_prod_verification_test.go +++ b/backend/internal/modules/pickup/clone_prod_verification_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/model" "gorm.io/driver/mysql" "gorm.io/gorm" diff --git a/backend/internal/modules/pickup/handler.go b/backend/internal/modules/pickup/handler.go index 964f1d2..4d0ce3d 100644 --- a/backend/internal/modules/pickup/handler.go +++ b/backend/internal/modules/pickup/handler.go @@ -5,9 +5,9 @@ import ( "net/http" "strings" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/pickup/handler_parse.go b/backend/internal/modules/pickup/handler_parse.go index 28a604a..dbbb3f7 100644 --- a/backend/internal/modules/pickup/handler_parse.go +++ b/backend/internal/modules/pickup/handler_parse.go @@ -5,8 +5,8 @@ import ( "strings" "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" ) diff --git a/backend/internal/modules/pickup/process_events.go b/backend/internal/modules/pickup/process_events.go index 6fddb95..f044e9b 100644 --- a/backend/internal/modules/pickup/process_events.go +++ b/backend/internal/modules/pickup/process_events.go @@ -4,8 +4,8 @@ import ( "context" "encoding/json" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/processlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/processlog" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/pickup/repository.go b/backend/internal/modules/pickup/repository.go index 7df4bbd..efa79dd 100644 --- a/backend/internal/modules/pickup/repository.go +++ b/backend/internal/modules/pickup/repository.go @@ -11,14 +11,14 @@ import ( "strings" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/listingstatus" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/internal/timeutil" - "hfb_sys/backend/pkg/money" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/listingstatus" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/timeutil" + "hfb_jysh/backend/pkg/money" "gorm.io/datatypes" "gorm.io/gorm" @@ -178,17 +178,17 @@ func (r *Repository) Create(ctx context.Context, req CreateRequest, adminID uint BizID: &bid, Meta: meta, Detail: map[string]any{ - "pickup_no": pickupNo, - "listing_id": listing.ID, - "platform": pickup.Platform, - "third_party_order_no": pickup.ThirdPartyOrderNo, - "shop_name": pickup.ShopName, - "operator": pickup.Operator, - "account_source": pickup.AccountSource, - "source_channel": pickup.SourceChannel, - "order_amount_cent": pickup.OrderAmountCent, - "deposit_amount_cent": pickup.DepositAmountCent, - "profit_cent": pickup.ProfitAmountCent, + "pickup_no": pickupNo, + "listing_id": listing.ID, + "platform": pickup.Platform, + "third_party_order_no": pickup.ThirdPartyOrderNo, + "shop_name": pickup.ShopName, + "operator": pickup.Operator, + "account_source": pickup.AccountSource, + "source_channel": pickup.SourceChannel, + "order_amount_cent": pickup.OrderAmountCent, + "deposit_amount_cent": pickup.DepositAmountCent, + "profit_cent": pickup.ProfitAmountCent, }, }); err != nil { return err @@ -534,9 +534,9 @@ func (r *Repository) UpdateThirdPartyOrderNo(ctx context.Context, pickupID uint6 BizID: &bid, Meta: meta, Detail: map[string]any{ - "pickup_no": pickup.PickupNo, - "old_third_party_order_no": oldThirdPartyOrderNo, - "new_third_party_order_no": pickup.ThirdPartyOrderNo, + "pickup_no": pickup.PickupNo, + "old_third_party_order_no": oldThirdPartyOrderNo, + "new_third_party_order_no": pickup.ThirdPartyOrderNo, }, }) }) diff --git a/backend/internal/modules/pickup/repository_test.go b/backend/internal/modules/pickup/repository_test.go index c5a1a1d..559ecbe 100644 --- a/backend/internal/modules/pickup/repository_test.go +++ b/backend/internal/modules/pickup/repository_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/pickup/service.go b/backend/internal/modules/pickup/service.go index eb56674..8857a8b 100644 --- a/backend/internal/modules/pickup/service.go +++ b/backend/internal/modules/pickup/service.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "hfb_sys/backend/internal/auditlog" + "hfb_jysh/backend/internal/auditlog" ) type Service struct { @@ -210,4 +210,3 @@ func (s *Service) DeleteShopMapping(ctx context.Context, sourceName string, admi } return s.repo.DeleteShopMapping(ctx, sourceName, adminID, meta) } - diff --git a/backend/internal/modules/realname/cloudmarket_provider.go b/backend/internal/modules/realname/cloudmarket_provider.go index e7b5d29..f5ab96b 100644 --- a/backend/internal/modules/realname/cloudmarket_provider.go +++ b/backend/internal/modules/realname/cloudmarket_provider.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/pkg/crypto" ) const cloudMarketProviderName = "aliyun_cloudmarket" diff --git a/backend/internal/modules/realname/cloudmarket_provider_test.go b/backend/internal/modules/realname/cloudmarket_provider_test.go index 96f2c97..51694b5 100644 --- a/backend/internal/modules/realname/cloudmarket_provider_test.go +++ b/backend/internal/modules/realname/cloudmarket_provider_test.go @@ -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()) { diff --git a/backend/internal/modules/realname/handler.go b/backend/internal/modules/realname/handler.go index fbd46f2..43442ab 100644 --- a/backend/internal/modules/realname/handler.go +++ b/backend/internal/modules/realname/handler.go @@ -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" ) diff --git a/backend/internal/modules/realname/provider.go b/backend/internal/modules/realname/provider.go index fd4879d..3b22179 100644 --- a/backend/internal/modules/realname/provider.go +++ b/backend/internal/modules/realname/provider.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/pkg/crypto" ) type Provider interface { diff --git a/backend/internal/modules/realname/repository.go b/backend/internal/modules/realname/repository.go index 49c833f..8a1a2ae 100644 --- a/backend/internal/modules/realname/repository.go +++ b/backend/internal/modules/realname/repository.go @@ -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" diff --git a/backend/internal/modules/realname/service.go b/backend/internal/modules/realname/service.go index 55977ea..000e6ce 100644 --- a/backend/internal/modules/realname/service.go +++ b/backend/internal/modules/realname/service.go @@ -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" ) diff --git a/backend/internal/modules/realname/service_test.go b/backend/internal/modules/realname/service_test.go index 21b80cd..ade18a7 100644 --- a/backend/internal/modules/realname/service_test.go +++ b/backend/internal/modules/realname/service_test.go @@ -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" diff --git a/backend/internal/modules/rentergrowth/growth.go b/backend/internal/modules/rentergrowth/growth.go index 98e254b..530d230 100644 --- a/backend/internal/modules/rentergrowth/growth.go +++ b/backend/internal/modules/rentergrowth/growth.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/rentergrowth/growth_test.go b/backend/internal/modules/rentergrowth/growth_test.go index 70d8e14..b61f63f 100644 --- a/backend/internal/modules/rentergrowth/growth_test.go +++ b/backend/internal/modules/rentergrowth/growth_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" ) func TestDefaultConfigIncludesDepositFreeQuota(t *testing.T) { diff --git a/backend/internal/modules/sms/repository.go b/backend/internal/modules/sms/repository.go index 935268e..81a8a33 100644 --- a/backend/internal/modules/sms/repository.go +++ b/backend/internal/modules/sms/repository.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/modules/sms/repository_test.go b/backend/internal/modules/sms/repository_test.go index 725e475..6c54d2d 100644 --- a/backend/internal/modules/sms/repository_test.go +++ b/backend/internal/modules/sms/repository_test.go @@ -5,8 +5,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" ) diff --git a/backend/internal/modules/supportgroup/handler.go b/backend/internal/modules/supportgroup/handler.go index fbee04c..0b8bb0f 100644 --- a/backend/internal/modules/supportgroup/handler.go +++ b/backend/internal/modules/supportgroup/handler.go @@ -5,7 +5,7 @@ import ( "net/http" "strconv" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/supportgroup/repository.go b/backend/internal/modules/supportgroup/repository.go index df8f7a4..edb664f 100644 --- a/backend/internal/modules/supportgroup/repository.go +++ b/backend/internal/modules/supportgroup/repository.go @@ -5,7 +5,7 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/supportgroup/selector.go b/backend/internal/modules/supportgroup/selector.go index f1e63d3..754662b 100644 --- a/backend/internal/modules/supportgroup/selector.go +++ b/backend/internal/modules/supportgroup/selector.go @@ -3,7 +3,7 @@ package supportgroup import ( "errors" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/systemconfig/distribution.go b/backend/internal/modules/systemconfig/distribution.go index e465ad8..60d9187 100644 --- a/backend/internal/modules/systemconfig/distribution.go +++ b/backend/internal/modules/systemconfig/distribution.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - smsnode "hfb_sys/backend/internal/modules/sms" + smsnode "hfb_jysh/backend/internal/modules/sms" ) // DistributionSettlementHoldDaysKey 是「新建分销站点默认结算冷却天数」的系统配置键。 diff --git a/backend/internal/modules/systemconfig/handler.go b/backend/internal/modules/systemconfig/handler.go index 8d9a580..2c8f21f 100644 --- a/backend/internal/modules/systemconfig/handler.go +++ b/backend/internal/modules/systemconfig/handler.go @@ -4,9 +4,9 @@ import ( "errors" "net/http" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/systemconfig/repository.go b/backend/internal/modules/systemconfig/repository.go index 9e36d9a..77433a3 100644 --- a/backend/internal/modules/systemconfig/repository.go +++ b/backend/internal/modules/systemconfig/repository.go @@ -8,10 +8,10 @@ import ( "sync" "unicode/utf8" - "hfb_sys/backend/internal/auditlog" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/rentergrowth" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/auditlog" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/rentergrowth" + smsnode "hfb_jysh/backend/internal/modules/sms" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/systemconfig/repository_test.go b/backend/internal/modules/systemconfig/repository_test.go index 641fbf2..07b8fe7 100644 --- a/backend/internal/modules/systemconfig/repository_test.go +++ b/backend/internal/modules/systemconfig/repository_test.go @@ -6,8 +6,8 @@ import ( "sync" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/systemconfig/service_home.go b/backend/internal/modules/systemconfig/service_home.go index fa1e115..01c5e0e 100644 --- a/backend/internal/modules/systemconfig/service_home.go +++ b/backend/internal/modules/systemconfig/service_home.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) const homeEntriesEnabledConfigKey = "mobile.home_entries_enabled" diff --git a/backend/internal/modules/systemconfig/service_update.go b/backend/internal/modules/systemconfig/service_update.go index 657060c..0a81125 100644 --- a/backend/internal/modules/systemconfig/service_update.go +++ b/backend/internal/modules/systemconfig/service_update.go @@ -5,8 +5,8 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/modules/rentergrowth" - smsnode "hfb_sys/backend/internal/modules/sms" + "hfb_jysh/backend/internal/modules/rentergrowth" + smsnode "hfb_jysh/backend/internal/modules/sms" ) func (s *Service) Update(ctx context.Context, actorID uint64, key string, req UpdateRequest, meta AuditMeta) (*ConfigDTO, error) { diff --git a/backend/internal/modules/user/handler.go b/backend/internal/modules/user/handler.go index 3105a69..1139783 100644 --- a/backend/internal/modules/user/handler.go +++ b/backend/internal/modules/user/handler.go @@ -4,9 +4,9 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" "gorm.io/gorm" diff --git a/backend/internal/modules/wallet/handler.go b/backend/internal/modules/wallet/handler.go index f1ecbc7..0ae6bf3 100644 --- a/backend/internal/modules/wallet/handler.go +++ b/backend/internal/modules/wallet/handler.go @@ -4,9 +4,9 @@ import ( "errors" "strconv" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/sitecode" - "hfb_sys/backend/pkg/response" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/sitecode" + "hfb_jysh/backend/pkg/response" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/modules/wallet/repository.go b/backend/internal/modules/wallet/repository.go index 6cd5cb5..da2253f 100644 --- a/backend/internal/modules/wallet/repository.go +++ b/backend/internal/modules/wallet/repository.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/timeutil" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/timeutil" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/wallet/repository_integration_test.go b/backend/internal/modules/wallet/repository_integration_test.go index 303a9b5..f1753cb 100644 --- a/backend/internal/modules/wallet/repository_integration_test.go +++ b/backend/internal/modules/wallet/repository_integration_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/modules/wallet/repository_logic_test.go b/backend/internal/modules/wallet/repository_logic_test.go index 183c38c..1b33b95 100644 --- a/backend/internal/modules/wallet/repository_logic_test.go +++ b/backend/internal/modules/wallet/repository_logic_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // TestAppendEntriesLogic 测试 AppendEntries 核心逻辑(不依赖数据库) diff --git a/backend/internal/modules/wallet/repository_test.go b/backend/internal/modules/wallet/repository_test.go index dfb2c1d..d959df8 100644 --- a/backend/internal/modules/wallet/repository_test.go +++ b/backend/internal/modules/wallet/repository_test.go @@ -4,7 +4,7 @@ import ( "regexp" "testing" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) func TestApplyEntryRoundsMoneyBeforeComparing(t *testing.T) { diff --git a/backend/internal/modules/withdrawal/admin.go b/backend/internal/modules/withdrawal/admin.go index 585ccf8..b176488 100644 --- a/backend/internal/modules/withdrawal/admin.go +++ b/backend/internal/modules/withdrawal/admin.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/modules/withdrawal/handler.go b/backend/internal/modules/withdrawal/handler.go index 95f5a57..bfb37e3 100644 --- a/backend/internal/modules/withdrawal/handler.go +++ b/backend/internal/modules/withdrawal/handler.go @@ -3,8 +3,8 @@ package withdrawal import ( "strconv" - "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" ) diff --git a/backend/internal/modules/withdrawal/presenter.go b/backend/internal/modules/withdrawal/presenter.go index 34561f8..dd14d5f 100644 --- a/backend/internal/modules/withdrawal/presenter.go +++ b/backend/internal/modules/withdrawal/presenter.go @@ -6,7 +6,7 @@ import ( "net/url" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" ) // 转换为用户DTO diff --git a/backend/internal/modules/withdrawal/repository.go b/backend/internal/modules/withdrawal/repository.go index 0d04d95..2e59532 100644 --- a/backend/internal/modules/withdrawal/repository.go +++ b/backend/internal/modules/withdrawal/repository.go @@ -1,8 +1,8 @@ package withdrawal import ( - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/pkg/crypto" "gorm.io/gorm" ) diff --git a/backend/internal/modules/withdrawal/repository_integration_test.go b/backend/internal/modules/withdrawal/repository_integration_test.go index 8427e98..0d1540a 100644 --- a/backend/internal/modules/withdrawal/repository_integration_test.go +++ b/backend/internal/modules/withdrawal/repository_integration_test.go @@ -5,10 +5,10 @@ import ( "errors" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/pkg/crypto" "gorm.io/gorm" ) diff --git a/backend/internal/modules/withdrawal/user.go b/backend/internal/modules/withdrawal/user.go index dfc4407..342d3ac 100644 --- a/backend/internal/modules/withdrawal/user.go +++ b/backend/internal/modules/withdrawal/user.go @@ -5,8 +5,8 @@ import ( "errors" "strings" - "hfb_sys/backend/internal/model" - "hfb_sys/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/model" + "hfb_jysh/backend/internal/modules/wallet" "gorm.io/gorm" "gorm.io/gorm/clause" diff --git a/backend/internal/processlog/processlog.go b/backend/internal/processlog/processlog.go index 8fc2514..d5fdf5f 100644 --- a/backend/internal/processlog/processlog.go +++ b/backend/internal/processlog/processlog.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "gorm.io/datatypes" "gorm.io/gorm" diff --git a/backend/internal/router/admin_routes.go b/backend/internal/router/admin_routes.go index dea53bd..a1ea417 100644 --- a/backend/internal/router/admin_routes.go +++ b/backend/internal/router/admin_routes.go @@ -1,13 +1,13 @@ package router import ( - "hfb_sys/backend/internal/modules/adminmgr" - "hfb_sys/backend/internal/modules/adminrole" - "hfb_sys/backend/internal/modules/announcement" - "hfb_sys/backend/internal/modules/chat" - "hfb_sys/backend/internal/modules/mohong" - "hfb_sys/backend/internal/modules/payment" - "hfb_sys/backend/internal/modules/supportgroup" + "hfb_jysh/backend/internal/modules/adminmgr" + "hfb_jysh/backend/internal/modules/adminrole" + "hfb_jysh/backend/internal/modules/announcement" + "hfb_jysh/backend/internal/modules/chat" + "hfb_jysh/backend/internal/modules/mohong" + "hfb_jysh/backend/internal/modules/payment" + "hfb_jysh/backend/internal/modules/supportgroup" "github.com/gin-gonic/gin" ) diff --git a/backend/internal/router/dependencies.go b/backend/internal/router/dependencies.go index c9714ee..efeb2ae 100644 --- a/backend/internal/router/dependencies.go +++ b/backend/internal/router/dependencies.go @@ -5,7 +5,7 @@ import ( "net/url" "strings" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/model" "github.com/redis/go-redis/v9" "gorm.io/gorm" diff --git a/backend/internal/router/dependencies_test.go b/backend/internal/router/dependencies_test.go index c96b3ac..d6cf5b1 100644 --- a/backend/internal/router/dependencies_test.go +++ b/backend/internal/router/dependencies_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "hfb_sys/backend/internal/database" - "hfb_sys/backend/internal/model" + "hfb_jysh/backend/internal/database" + "hfb_jysh/backend/internal/model" "gorm.io/gorm" ) diff --git a/backend/internal/router/health_checks.go b/backend/internal/router/health_checks.go index b368bf0..64240ee 100644 --- a/backend/internal/router/health_checks.go +++ b/backend/internal/router/health_checks.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "hfb_sys/backend/internal/handler" + "hfb_jysh/backend/internal/handler" ) func newReadinessChecks(deps Dependencies) map[string]handler.ReadinessCheck { diff --git a/backend/internal/router/providers.go b/backend/internal/router/providers.go index b6253d3..a7569d3 100644 --- a/backend/internal/router/providers.go +++ b/backend/internal/router/providers.go @@ -3,10 +3,10 @@ package router import ( "strings" - "hfb_sys/backend/internal/config" - smsintegration "hfb_sys/backend/internal/integrations/sms" - "hfb_sys/backend/internal/modules/realname" - "hfb_sys/backend/pkg/crypto" + "hfb_jysh/backend/internal/config" + smsintegration "hfb_jysh/backend/internal/integrations/sms" + "hfb_jysh/backend/internal/modules/realname" + "hfb_jysh/backend/pkg/crypto" "go.uber.org/zap" ) diff --git a/backend/internal/router/router.go b/backend/internal/router/router.go index c31087c..b5a3524 100644 --- a/backend/internal/router/router.go +++ b/backend/internal/router/router.go @@ -4,45 +4,45 @@ import ( "context" "strings" - "hfb_sys/backend/internal/config" - "hfb_sys/backend/internal/handler" - "hfb_sys/backend/internal/middleware" - "hfb_sys/backend/internal/modules/adminaudit" - "hfb_sys/backend/internal/modules/adminauth" - "hfb_sys/backend/internal/modules/admindashboard" - "hfb_sys/backend/internal/modules/adminfinance" - "hfb_sys/backend/internal/modules/adminmgr" - "hfb_sys/backend/internal/modules/adminnotification" - "hfb_sys/backend/internal/modules/adminpush" - "hfb_sys/backend/internal/modules/adminrole" - "hfb_sys/backend/internal/modules/adminuser" - "hfb_sys/backend/internal/modules/adtracking" - "hfb_sys/backend/internal/modules/announcement" - "hfb_sys/backend/internal/modules/auth" - "hfb_sys/backend/internal/modules/backupmonitor" - "hfb_sys/backend/internal/modules/chat" - "hfb_sys/backend/internal/modules/chathub" - "hfb_sys/backend/internal/modules/csmanualentry" - "hfb_sys/backend/internal/modules/dispute" - "hfb_sys/backend/internal/modules/distribution" - filemodule "hfb_sys/backend/internal/modules/file" - "hfb_sys/backend/internal/modules/invitation" - "hfb_sys/backend/internal/modules/listing" - "hfb_sys/backend/internal/modules/mohong" - "hfb_sys/backend/internal/modules/notification" - "hfb_sys/backend/internal/modules/order" - "hfb_sys/backend/internal/modules/payment" - "hfb_sys/backend/internal/modules/paymentaccount" - "hfb_sys/backend/internal/modules/paymentconfig" - "hfb_sys/backend/internal/modules/pickup" - "hfb_sys/backend/internal/modules/realname" - "hfb_sys/backend/internal/modules/supportgroup" - "hfb_sys/backend/internal/modules/systemconfig" - "hfb_sys/backend/internal/modules/user" - "hfb_sys/backend/internal/modules/wallet" - "hfb_sys/backend/internal/modules/withdrawal" + "hfb_jysh/backend/internal/config" + "hfb_jysh/backend/internal/handler" + "hfb_jysh/backend/internal/middleware" + "hfb_jysh/backend/internal/modules/adminaudit" + "hfb_jysh/backend/internal/modules/adminauth" + "hfb_jysh/backend/internal/modules/admindashboard" + "hfb_jysh/backend/internal/modules/adminfinance" + "hfb_jysh/backend/internal/modules/adminmgr" + "hfb_jysh/backend/internal/modules/adminnotification" + "hfb_jysh/backend/internal/modules/adminpush" + "hfb_jysh/backend/internal/modules/adminrole" + "hfb_jysh/backend/internal/modules/adminuser" + "hfb_jysh/backend/internal/modules/adtracking" + "hfb_jysh/backend/internal/modules/announcement" + "hfb_jysh/backend/internal/modules/auth" + "hfb_jysh/backend/internal/modules/backupmonitor" + "hfb_jysh/backend/internal/modules/chat" + "hfb_jysh/backend/internal/modules/chathub" + "hfb_jysh/backend/internal/modules/csmanualentry" + "hfb_jysh/backend/internal/modules/dispute" + "hfb_jysh/backend/internal/modules/distribution" + filemodule "hfb_jysh/backend/internal/modules/file" + "hfb_jysh/backend/internal/modules/invitation" + "hfb_jysh/backend/internal/modules/listing" + "hfb_jysh/backend/internal/modules/mohong" + "hfb_jysh/backend/internal/modules/notification" + "hfb_jysh/backend/internal/modules/order" + "hfb_jysh/backend/internal/modules/payment" + "hfb_jysh/backend/internal/modules/paymentaccount" + "hfb_jysh/backend/internal/modules/paymentconfig" + "hfb_jysh/backend/internal/modules/pickup" + "hfb_jysh/backend/internal/modules/realname" + "hfb_jysh/backend/internal/modules/supportgroup" + "hfb_jysh/backend/internal/modules/systemconfig" + "hfb_jysh/backend/internal/modules/user" + "hfb_jysh/backend/internal/modules/wallet" + "hfb_jysh/backend/internal/modules/withdrawal" - _ "hfb_sys/backend/docs" // Swagger 文档 + _ "hfb_jysh/backend/docs" // Swagger 文档 "github.com/gin-gonic/gin" swaggerFiles "github.com/swaggo/files" diff --git a/backend/internal/router/router_test.go b/backend/internal/router/router_test.go index c31f088..53562d7 100644 --- a/backend/internal/router/router_test.go +++ b/backend/internal/router/router_test.go @@ -5,8 +5,8 @@ import ( "net/http/httptest" "testing" - "hfb_sys/backend/internal/config" - "hfb_sys/backend/internal/database" + "hfb_jysh/backend/internal/config" + "hfb_jysh/backend/internal/database" "go.uber.org/zap" ) diff --git a/scripts/check-backend-coverage.sh b/scripts/check-backend-coverage.sh index 86c1dea..41d6db4 100755 --- a/scripts/check-backend-coverage.sh +++ b/scripts/check-backend-coverage.sh @@ -44,7 +44,7 @@ require_at_least() { total="$(go tool cover -func="${PROFILE}" | awk '/^total:/ { gsub(/%/, "", $3); print $3 }')" require_at_least "后端总语句" "${total}" "30.0" -require_at_least "order" "$(coverage_for_package hfb_sys/backend/internal/modules/order)" "40.0" -require_at_least "payment" "$(coverage_for_package hfb_sys/backend/internal/modules/payment)" "20.0" -require_at_least "wallet" "$(coverage_for_package hfb_sys/backend/internal/modules/wallet)" "34.0" -require_at_least "withdrawal" "$(coverage_for_package hfb_sys/backend/internal/modules/withdrawal)" "30.0" +require_at_least "order" "$(coverage_for_package hfb_jysh/backend/internal/modules/order)" "40.0" +require_at_least "payment" "$(coverage_for_package hfb_jysh/backend/internal/modules/payment)" "20.0" +require_at_least "wallet" "$(coverage_for_package hfb_jysh/backend/internal/modules/wallet)" "34.0" +require_at_least "withdrawal" "$(coverage_for_package hfb_jysh/backend/internal/modules/withdrawal)" "30.0"