Skip to content

Latest commit

 

History

History
executable file
·
21 lines (20 loc) · 421 Bytes

functions.md

File metadata and controls

executable file
·
21 lines (20 loc) · 421 Bytes

1. 调用方式一 来自返回的字段 -> 因为默认simple字段会返回 -> 需要返回吗

{
  "name": "hi",
  "aaa": "demo",
  "ref()": "sayHello(name,aaa)",
  "@a": 0,
  "ref2()": "ret(@a)",
  "User": {
    "pic()": "getPic(userId)" // 来自当前User的字段, 需要分析函数依赖的字段和依赖函数字段的节点
  }
}

2Z

{
  "msg()": "sayHi",
  "msg2()": "sayHi()"
}