优化代码。

This commit is contained in:
chenxudong 2025-06-05 11:33:43 +08:00
parent 5d0229a848
commit e77e36f963
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ def start():
creationflags=creation_flags
)
logger.info(f"Spring Boot 应用已在后台启动! PID: {process.pid}")
logger.info(f"应用已在后台启动! PID: {process.pid}")
logger.info(f"日志输出: {os.path.abspath(log_file)}")
except Exception as e:
logger.info(f"启动失败: {str(e)}")
@ -119,7 +119,7 @@ def kill_process_by_port(port):
def open_web():
webview.settings['ALLOW_DOWNLOADS'] = True
webview.settings['OPEN_DEVTOOLS_IN_DEBUG'] = False
webview.create_window('数据库管理系统', 'http://127.0.0.1:12396/index')
webview.create_window('数据库管理系统', f'http://127.0.0.1:{port}/index')
webview.start(debug=True)
if __name__ == '__main__':

Binary file not shown.