123456789101112131415161718192021222324252627282930 |
- #ifndef FROMWEBAPI_H
- #define FROMWEBAPI_H
- #include "spdlog/spdlog.h"
- #include "lhhttpapi.h"
- class FromEQM
- {
- public:
- FromEQM();
- ~FromEQM();
- /* 初始化WebAPI */
- bool initWebApi(const QString& url,const QString& serverIP,const QString& serID);
- private:
- private:
- std::shared_ptr<spdlog::logger> m_logger = nullptr;
- lhhttpapi* m_httpApi = nullptr;
- QString m_userToken;
- };
- #endif /* FROMWEBAPI_H */
|