[feat] MQTT 添加 Params 字段

This commit is contained in:
what 2024-04-19 21:20:34 +08:00
parent 4942a1a1ad
commit 3a890cdcc6

View File

@ -10,6 +10,7 @@ type Mqtt struct {
CreatedAt string `db:"created_at"`
Enabled bool `db:"enabled"`
Roles []map[string]int64 `db:"roles"`
Params []ResApiParam `db:"params"`
}
type GetMqtt func(code string) (Mqtt, bool)