基本通信测试通过。
This commit is contained in:
32
bf.config.h
Normal file
32
bf.config.h
Normal 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
|
||||
Reference in New Issue
Block a user