mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
修改测试用例
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
<node id="s1" name="普通脚本1" type="script" language="python">
|
||||
<![CDATA[
|
||||
import json
|
||||
x='{"name": "Jack", "age": 75, "nationality": "China"}'
|
||||
|
||||
x='{"name": "杰克", "age": 75, "nationality": "China"}'
|
||||
jsonData=json.loads(x)
|
||||
temperature=jsonData['name']
|
||||
print(temperature)
|
||||
name=jsonData['name']
|
||||
defaultContext.setData("name", name.decode('utf-8'))
|
||||
|
||||
|
||||
a=6
|
||||
|
||||
Reference in New Issue
Block a user