|
@ -38,7 +38,7 @@ func GetChiRouter() *chi.Mux { |
|
|
return chiRouter |
|
|
return chiRouter |
|
|
} |
|
|
} |
|
|
func Run() { |
|
|
func Run() { |
|
|
path, _ := os.Getwd() |
|
|
|
|
|
|
|
|
path, _ := GetCurrentPath() |
|
|
os.Chdir(path) |
|
|
os.Chdir(path) |
|
|
log.Println("工作目录:", path) |
|
|
log.Println("工作目录:", path) |
|
|
cc := core.GetInstanceConfig() |
|
|
cc := core.GetInstanceConfig() |
|
|