mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 15:52:27 +08:00
refactor
This commit is contained in:
@@ -2,12 +2,14 @@ package dao
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
dbEntity "hk4e/dispatch/model"
|
||||
"hk4e/pkg/logger"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"go.mongodb.org/mongo-driver/bson"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
"go.mongodb.org/mongo-driver/mongo"
|
||||
dbEntity "hk4e/dispatch/entity/db"
|
||||
"hk4e/logger"
|
||||
)
|
||||
|
||||
func (d *Dao) GetNextYuanShenUid() (uint64, error) {
|
||||
|
||||
@@ -2,10 +2,12 @@ package dao
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"hk4e/common/config"
|
||||
"hk4e/pkg/logger"
|
||||
|
||||
"go.mongodb.org/mongo-driver/mongo"
|
||||
"go.mongodb.org/mongo-driver/mongo/options"
|
||||
"hk4e/common/config"
|
||||
"hk4e/logger"
|
||||
)
|
||||
|
||||
type Dao struct {
|
||||
|
||||
Reference in New Issue
Block a user