提交 6c1e78ea 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix a bug about submit result to zentaopms

上级 67b9bde2
......@@ -92,17 +92,14 @@ func PostObject(url string, params interface{}, useFormFormat bool) (string, boo
} else {
url = url + "&" + vari.SessionVar + "=" + vari.SessionId
}
url = url + "&XDEBUG_SESSION_START=PHPSTORM"
jsonStr, _ := json.Marshal(params)
if vari.Verbose {
logUtils.PrintToCmd(url, -1)
logUtils.PrintToCmd(string(jsonStr), -1)
}
client := &http.Client{}
val := string(jsonStr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册