mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
实现MQTT功能, 修改HTTP接口
This commit is contained in:
@@ -20,6 +20,12 @@ struct AppOption
|
||||
int port {0};
|
||||
} http;
|
||||
|
||||
struct {
|
||||
std::string host;
|
||||
std::string username;
|
||||
std::string password;
|
||||
} mqtt;
|
||||
|
||||
};
|
||||
|
||||
class Config
|
||||
|
||||
Reference in New Issue
Block a user