sunty
2020-04-16 b36133fcbb12094218c33e35bb225e9dea9b1cf7
controllers/swfsControllers.go
@@ -101,14 +101,14 @@
//启动服务
func StartServer(scriptPath string) {
   fmt.Println("sh " + scriptPath + StartServerScript)
   util.RunScript("sh " + scriptPath + StartServerScript)
   //fmt.Println("sh " + scriptPath + "/" + StartServerScript)
   util.RunScript("sh " + scriptPath + "/" + StartServerScript)
}
//停止服务
func StopServer(scriptPath string) {
   fmt.Println("sh " + scriptPath + StopServerScript)
   util.RunScript("sh " + scriptPath + StopServerScript)
   //fmt.Println("sh " + scriptPath + "/" + StopServerScript)
   util.RunScript("sh " + scriptPath + "/" + StopServerScript)
}
//根据搜索内容替换整行内容