#pragma once #include using namespace std; #include #include #include #include #include #include #include "Util/logger.h" #include "Util/NoticeCenter.h" #include "Poller/EventPoller.h" #include "Util/SqlPool.h" #include "Network/TcpClient.h" #include "Poller/Timer.h" using namespace toolkit; class NettyHttpPeakValleyConfig { public: std::string addTime; std::string updateTime; int createBy; int updateBy; std::string attr1; std::string attr2; std::string attr3; int appId; int pvcId; std::string startTime; std::string endTime; int timeType; std::string remark; public: NettyHttpPeakValleyConfig() {} ~NettyHttpPeakValleyConfig() {} bool jsonToObject(const rapidjson::Value& object); /** * @description: 数据同步 * @param {*} * @return {*} */ bool NettyClientDataSync(); };