mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
完成系统管理web端功能,实现系统管理服务端接口,实现登录功能
This commit is contained in:
@@ -9,7 +9,8 @@ public:
|
||||
DaoEntity(string tableName);
|
||||
~DaoEntity();
|
||||
|
||||
static MysqlOptions& mysqlOptions();
|
||||
static MysqlOption& mysqlOption();
|
||||
static void setOption(std::string host, int port, std::string user, std::string pwd, std::string dbname);
|
||||
|
||||
static std::shared_ptr<DaoEntity> create(string tableName);
|
||||
|
||||
@@ -99,7 +100,7 @@ public:
|
||||
bool updateFields(DataFields& fields, vector<string> vecKeys, const string& cond);
|
||||
|
||||
protected:
|
||||
static MysqlOptions options_;
|
||||
static MysqlOption option_;
|
||||
|
||||
// mysql 数据库操作对象
|
||||
std::shared_ptr<MysqlClient> db_ = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user