sunty
2020-04-15 4a53fc51741d3a8f07267db9b9819be278377b8a
test get line
1个文件已修改
6 ■■■■ 已修改文件
controllers/swfsControllers.go 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
controllers/swfsControllers.go
@@ -92,10 +92,10 @@
    StopServer(config.Server.ScriptPath)
    time.Sleep(time.Second * 1)
    StartServer(config.Server.ScriptPath)
    fmt.Println("GetLocalStartupItem: ", GetLocalStartupItem(config.Server.ScriptPath, StartServerScript))
    result := strings.Split("=", GetLocalStartupItem(config.Server.ScriptPath, StartServerScript))[1]
    //fmt.Println("GetLocalStartupItem: ", GetLocalStartupItem(config.Server.ScriptPath, StartServerScript))
    result := strings.Split(GetLocalStartupItem(config.Server.ScriptPath, StartServerScript), "=")[1]
    fmt.Println("result: ", result)
    //util.ResponseFormat(c, code.Success, result)
    util.ResponseFormat(c, code.Success, result)
}
//启动服务