Commit 7e95cb33 authored by szh's avatar szh

app.ini 替换路径修复

parent fc416731
......@@ -168,7 +168,7 @@ func UpdatePai(c *gin.Context) {
return
}
//替换配置文件
mvconf := exec.Command("mv",setting.Chain33Pai.Name+"_"+req.Version+"/conf/app.ini",".")
mvconf := exec.Command("mv",setting.Chain33Pai.Name+"_"+req.Version+"/conf/app.ini","conf")
err = mvconf.Start()
if err != nil {
tlog.Error("mvconf","err",err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment