未验证 提交 de7784e2 编写于 作者: E Eolink 提交者: GitHub

Merge pull request #77 from Dot-Liu/master

修复编排取值空指针的问题
......@@ -49,6 +49,12 @@ func (r *_BodyReader) Read(variables *Variables) string {
func find(node *reflect.Value, path []string) string {
if len(path) == 0 {
if !node.IsValid(){
return ""
}
if node.IsNil(){
return ""
}
return fmt.Sprint(node.Interface())
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册