[feat] MQTT 添加 Params 字段
This commit is contained in:
parent
4942a1a1ad
commit
3a890cdcc6
@ -10,6 +10,7 @@ type Mqtt struct {
|
|||||||
CreatedAt string `db:"created_at"`
|
CreatedAt string `db:"created_at"`
|
||||||
Enabled bool `db:"enabled"`
|
Enabled bool `db:"enabled"`
|
||||||
Roles []map[string]int64 `db:"roles"`
|
Roles []map[string]int64 `db:"roles"`
|
||||||
|
Params []ResApiParam `db:"params"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetMqtt func(code string) (Mqtt, bool)
|
type GetMqtt func(code string) (Mqtt, bool)
|
||||||
|
Loading…
Reference in New Issue
Block a user