[feat] MQTT Roles 字段调整

This commit is contained in:
what 2024-04-19 23:20:03 +08:00
parent 3a890cdcc6
commit 0e21627c9a

View File

@ -9,7 +9,7 @@ type Mqtt struct {
UpdatedAt string `db:"updated_at"`
CreatedAt string `db:"created_at"`
Enabled bool `db:"enabled"`
Roles []map[string]int64 `db:"roles"`
Roles map[string]int64 `db:"roles"`
Params []ResApiParam `db:"params"`
}