zhangzengfei
2024-10-19 5a12f5d6c182554ef5603d9d26a9ba501ca2f404
fix build
2个文件已修改
5 ■■■■■ 已修改文件
config/config.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/server.go 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/config.go
@@ -27,9 +27,9 @@
func Init() {
    var err error
    viper.SetConfigType("yaml")
    viper.SetConfigName("esSync")
    viper.AddConfigPath("../config")
    viper.SetConfigName("esSyncClient")
    viper.AddConfigPath("config")
    viper.AddConfigPath("../config")
    viper.AddConfigPath("")
    err = viper.ReadInConfig()
    if err != nil {
service/server.go
@@ -13,7 +13,6 @@
    "io/ioutil"
    "net/http"
    "regexp"
    "strings"
)
func ConnectControl() bool {