This commit is contained in:
eson 2023-08-30 10:54:55 +08:00
parent ac834fa299
commit 9ecb04c98b

View File

@ -21,7 +21,6 @@ func GetUserState(UserId int64, gdb *gorm.DB) (us *UserState, err error) {
models := gmodel.NewAllModels(gdb)
user, err := models.FsUser.FindUserById(context.TODO(), UserId)
if err != nil {
log.Println(err)
return nil, err
}