mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
实现削峰套利策略的编辑页面
This commit is contained in:
@@ -47,7 +47,7 @@ Errcode DAO1::login(std::shared_ptr<DaoEntity> dao, std::string account, std::st
|
||||
}
|
||||
Fields& fields = res[0];
|
||||
std::string userId = fields.value("user_id");
|
||||
int loginCount = fields.getInt("login_count");
|
||||
int loginCount = fields.get<int>("login_count");
|
||||
|
||||
// 判断密码
|
||||
if (passwd != fields.value("passwd"))
|
||||
|
||||
Reference in New Issue
Block a user