fix & update

This commit is contained in:
2023-01-16 14:05:06 +08:00
parent 94bb29f2d3
commit baeb818760
10 changed files with 8 additions and 16 deletions
+2 -3
View File
@@ -53,11 +53,10 @@ func LoadYamlFile(filename string, v interface{}) {
}
}
// 配置文件所在路径
const BaseConfigDirPath = "configs"
// BaseConfigDirPath 配置文件所在路径
const BaseConfigDirPath = "resources"
func readAppYmlFile(resourcePath string) {
// 读取主配置文件
applicationCoreFileName := BaseConfigDirPath + "/application.yml"
applicationCoreFilePath := resourcePath + GetPathSeparator() + applicationCoreFileName