v1.2.2: 右侧面板始终显示,首页显示快捷入口

This commit is contained in:
2026-04-21 12:16:52 +08:00
parent 7ad0538039
commit 7bde3ce551
2 changed files with 85 additions and 35 deletions

10
app.py
View File

@@ -1,7 +1,7 @@
"""
图片编辑器 - Image Editor v1.2.0
图片编辑器 - Image Editor v1.2.2
前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等
v1.2.0: 右侧面板实时配置,无需弹框
v1.2.2: 右侧面板始终显示,首页显示快捷入口
端口: 19018
"""
@@ -25,7 +25,7 @@ def index():
@app.route('/api/health')
def health():
return jsonify({'status': 'ok', 'version': '1.2.0', 'time': datetime.now().isoformat()})
return jsonify({'status': 'ok', 'version': '1.2.2', 'time': datetime.now().isoformat()})
@app.route('/api/save', methods=['POST'])
def save_image():
@@ -64,9 +64,9 @@ def list_images():
if __name__ == '__main__':
print("=" * 50)
print("图片编辑器 - Image Editor v1.2.1")
print("图片编辑器 - Image Editor v1.2.2")
print("=" * 50)
print("右侧面板实时配置,操作更流畅")
print("右侧面板始终显示,首页显示快捷入口")
print(f"访问地址: http://localhost:19018")
print("=" * 50)
app.run(host='0.0.0.0', port=19018, debug=True)