feat: 新增 python310-flask 构建示例(demo/python310-flask)

This commit is contained in:
2026-06-13 21:47:15 +08:00
parent 6af17a9d4f
commit c732877fd8
11 changed files with 247 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>python310-flask</title>
<style>
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; margin: 40px; color: #333; }
table { border-collapse: collapse; min-width: 520px; }
th, td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }
th { background: #f5f5f5; width: 160px; }
a { color: #1677ff; }
</style>
</head>
<body>
<h2>python310-flask 运行信息</h2>
<table>
{% for key, value in info.items() %}
<tr>
<th>{{ key }}</th>
<td>{{ value }}</td>
</tr>
{% endfor %}
</table>
<p>
其它接口:<a href="/api/hello/demo">/api/hello/&lt;name&gt;</a>、<a href="/health">/health</a>
</p>
</body>
</html>