修复publish的bug

This commit is contained in:
unknown
2020-07-21 16:58:56 +08:00
parent f1cea12e92
commit bf1430f0df
10 changed files with 278 additions and 258 deletions

View File

@@ -335,9 +335,8 @@ func run() {
w.Write([]byte(err.Error()))
return
}
w.Write([]byte(`success`))
} else {
w.Write([]byte(`{"errmsg":"bad name"}`))
w.Write([]byte("bad name"))
}
})
}