基本通信测试通过。

This commit is contained in:
2026-03-10 11:51:02 +08:00
commit b361eb3f88
15 changed files with 690 additions and 0 deletions

32
bf.config.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef BF_CONFIG_H
#define BF_CONFIG_H
#include <string>
enum BF_Type {
BFT_COMMON = 0,
BFT_AI
};
struct XlsxTask {
int startRow;
int startCol;
int endRow;
int endCol;
};
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;
BF_Type type = BFT_COMMON;
};
#endif // BF_CONFIG_H