.gitignore

This commit is contained in:
2026-02-24 16:49:31 +08:00
parent 2efc76b973
commit c1ed49fa5f
19 changed files with 31 additions and 35 deletions

View File

@@ -8,8 +8,8 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/beans"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/beans"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
"go.mongodb.org/mongo-driver/v2/mongo/options"

View File

@@ -13,7 +13,7 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/mongo"
)
type order struct {

View File

@@ -8,8 +8,8 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/beans"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/beans"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
)

View File

@@ -8,8 +8,8 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/beans"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/beans"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
)

View File

@@ -8,7 +8,7 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
)

View File

@@ -8,8 +8,8 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/beans"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/beans"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
)

View File

@@ -7,7 +7,7 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/mongo"
"gitea.com/red-future/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
)

6
go.mod
View File

@@ -3,7 +3,7 @@ module order
go 1.25.3
require (
gitee.com/red-future---jilin-g/common v0.2.9
gitea.com/red-future/common v0.0.2
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.9.6
github.com/gogf/gf/contrib/nosql/redis/v2 v2.9.6
github.com/gogf/gf/v2 v2.9.6
@@ -11,7 +11,7 @@ require (
go.mongodb.org/mongo-driver/v2 v2.4.0
)
//replace gitee.com/red-future---jilin-g/common v0.2.9 => ../common
//replace gitea.com/red-future/common => ../common
require (
github.com/BurntSushi/toml v1.5.0 // indirect
@@ -32,7 +32,7 @@ require (
github.com/gogf/gf/contrib/registry/consul/v2 v2.9.5 // indirect
github.com/gogf/gf/contrib/trace/otlphttp/v2 v2.9.5 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
github.com/golang/glog v1.2.5 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect

12
go.sum
View File

@@ -1,10 +1,6 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
gitee.com/red-future---jilin-g/common v0.2.5 h1:0T4chOMw9aXbA9RvP8d0814xLbisjzrMPhgqbCTa12M=
gitee.com/red-future---jilin-g/common v0.2.5/go.mod h1:TFCNnI7801DamWd0m/M2CT5T090jFXXGLNDY4iZ2WY8=
gitee.com/red-future---jilin-g/common v0.2.6/go.mod h1:TFCNnI7801DamWd0m/M2CT5T090jFXXGLNDY4iZ2WY8=
gitee.com/red-future---jilin-g/common v0.2.7/go.mod h1:TFCNnI7801DamWd0m/M2CT5T090jFXXGLNDY4iZ2WY8=
gitee.com/red-future---jilin-g/common v0.2.9 h1:lqYUnqTQLEcvxfFBqRMpetMudQze5cQlM4fKDouu2CU=
gitee.com/red-future---jilin-g/common v0.2.9/go.mod h1:TFCNnI7801DamWd0m/M2CT5T090jFXXGLNDY4iZ2WY8=
gitea.com/red-future/common v0.0.2 h1:KjiIyZo0JeSN9ldXofuGkFifJ/H66kTybOU34Yew7R0=
gitea.com/red-future/common v0.0.2/go.mod h1:CUurYN0elToJTwB2pX9wSnjQqZv9D/Vxbo5ueb7i9BI=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
@@ -92,8 +88,8 @@ github.com/gogf/gf/v2 v2.9.6/go.mod h1:Svl1N+E8G/QshU2DUbh/3J/AJauqCgUnxHurXWR4Q
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE=
github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY=
github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I=
github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=

View File

@@ -5,10 +5,10 @@ import (
"order/controller"
"order/service"
"gitee.com/red-future---jilin-g/common/http"
"gitee.com/red-future---jilin-g/common/jaeger"
_ "gitee.com/red-future---jilin-g/common/mongo"
_ "gitee.com/red-future---jilin-g/common/ragflow" // RAGFlow 客户端自动初始化
"gitea.com/red-future/common/http"
"gitea.com/red-future/common/jaeger"
_ "gitea.com/red-future/common/mongo"
_ "gitea.com/red-future/common/ragflow" // RAGFlow 客户端自动初始化
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
"github.com/gogf/gf/v2/frame/g"

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderBase 订单基础信息

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderDailyStatistics 订单日统计数据实体

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderMonthlyStatistics 订单月统计数据实体

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderQuarterlyStatistics 订单季度统计数据实体

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderStatistics 订单统计数据实体

View File

@@ -3,7 +3,7 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// OrderYearlyStatistics 订单年度统计数据实体

View File

@@ -3,7 +3,7 @@ package entity
import (
"go.mongodb.org/mongo-driver/v2/bson"
"gitee.com/red-future---jilin-g/common/beans"
"gitea.com/red-future/common/beans"
)
// PaymentConfig 支付配置

View File

@@ -12,7 +12,7 @@ import (
"order/model/dto"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/http"
"gitea.com/red-future/common/http"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/util/gconv"
"github.com/robfig/cron/v3"

View File

@@ -12,7 +12,7 @@ import (
"order/model/dto"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/http"
"gitea.com/red-future/common/http"
"github.com/gogf/gf/v2/frame/g"
"go.mongodb.org/mongo-driver/v2/bson"
)