|
@@ -9,7 +9,6 @@ import (
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
"github.com/go-redis/redis/v8"
|
|
|
- mhayaTime "github.com/mhaya/extend/time"
|
|
|
"github.com/mhaya/game/game_cluster/internal/code"
|
|
|
"github.com/mhaya/game/game_cluster/internal/constant"
|
|
|
"github.com/mhaya/game/game_cluster/internal/mdb"
|
|
@@ -221,7 +220,7 @@ func (a *Admin) QueryUserByUsername(ctx context.Context, username string) (*mode
|
|
|
RoleId: constant.AdminAccess,
|
|
|
ManagerAuth: 0,
|
|
|
Status: 1,
|
|
|
- CreatedAt: mhayaTime.Now().Unix(),
|
|
|
+ CreatedAt: 0,
|
|
|
UpdatedAt: 0,
|
|
|
DeletedAt: 0,
|
|
|
LastLoginIp: "",
|