#ifndef BF_CONFIG_H #define BF_CONFIG_H #include enum BF_Type { BFT_COMMON = 0, BFT_AI }; struct XlsxTask { int startRow; int startCol; int endRow; int endCol; std::string from; std::string to; }; class BF_Config { public: BF_Config() = default; bool parseConfig(const std::string& file); public: std::string baseUrl; std::string appId; std::string appKey; std::string appSecret; int interval = 1000; BF_Type type = BFT_COMMON; }; #endif // BF_CONFIG_H