12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #pragma once
- #include <iostream>
- using namespace std;
- #include <iostream>
- #include <rapidjson/document.h>
- #include <rapidjson/rapidjson.h>
- #include <rapidjson/stringbuffer.h>
- #include <rapidjson/writer.h>
- #include <vector>
- #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();
- };
|