Skip to content

Commit 4477783

Browse files
committed
feat: template
1 parent a9edeab commit 4477783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ template:
5959
其中“x”和“y”必须从SQL查询列中提取。
6060
- 如果需要饼图,则生成的 JSON 格式应为:
6161
{{"type":"pie", "title": "标题", "axis": {{"y": {{"值轴的中文名称","value":"SQL 查询数值的列(有别名用别名,去掉外层的反引号、双引号、方括号)"}}, "series": {{"name":"分类的中文名称","value":"SQL 查询分类的列(有别名用别名,去掉外层的反引号、双引号、方括号)"}}}}
62-
其中“column”必须从SQL查询列中提取。
62+
其中“y”和“series”必须从SQL查询列中提取。
6363
- 如果答案未知或者与生成JSON无关,则生成的 JSON 格式应为:
6464
{{"type":"error", "reason": "抱歉,我无法回答您的问题。"}}
6565

0 commit comments

Comments
 (0)