修复env问题

This commit is contained in:
bjdgyc 2021-08-20 19:16:54 +08:00
parent dfe61667cb
commit 80ca45c6ea
1 changed files with 2 additions and 2 deletions
server/base

View File

@ -51,8 +51,8 @@ func execute() {
}
rr := ee.MapRange()
for rr.Next() {
// fmt.Println(rr.Key(), rr.Value())
envs[rr.Key().String()] = fmt.Sprint(rr.Value())
// fmt.Println(rr.Key(), rr.Value().Index(0))
envs[rr.Key().String()] = rr.Value().Index(0).String()
}
if !runSrv {