#include "Operator.h"
#include "common/Logger.h"

bool Operator::login(std::string account, std::string passwd, std::string& err)
{
    //auto ecode; = DAO::login(nullptr, account, passwd, err);
    //if (ecode == Errcode::OK)
    //{
    //    XLOGD() << "用户[" + account + "]登录成功";
    //}
    //else
    //{
    //    XLOGD() << "用户[" + account + "]登录失败: " << err;
    //}
    //return (ecode == Errcode::OK);
    return true;
}