feat: first add

This commit is contained in:
2025-01-19 13:22:58 +08:00
commit 7f53f82fd4
16 changed files with 2337 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import yaml from "yaml";
import fs from "fs";
/**
* 配置信息帮助类
*/
export default class ConfigHelper {
static config = null;
static initConfig() {
this.config = yaml.parse(fs.readFileSync("./config.yml").toString());
}
}