修改api的request

This commit is contained in:
eson
2023-06-21 16:39:55 +08:00
parent 8857f84bf6
commit 29d5c91736
17 changed files with 36 additions and 75 deletions

View File

@@ -27,7 +27,11 @@ func (m *FsGuestModel) GenerateGuestID(ctx context.Context, AccessSecret *string
}
record.AuthKey = &authKey
record.CreatedAt = &now
tx.Updates(record)
err = tx.Updates(record).Error
if err != nil {
logx.Error(err)
return err
}
return nil
})