#ifndef WEBAPIBASE_H #define WEBAPIBASE_H #include #include "spdlog/spdlog.h" class lhhttpapi; class WebAPIBase { public: WebAPIBase(); virtual ~WebAPIBase(); /* 初始化WebAPI */ bool initWebApi(const QString& url, const QString& serID, const QString appType, const QString serverIP = ""); private: std::shared_ptr m_logger = nullptr; lhhttpapi* m_httpApi = nullptr; QString m_userToken; }; #endif /* WEBAPIBASE_H */