优化代码。
This commit is contained in:
parent
5d0229a848
commit
e77e36f963
|
|
@ -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__':
|
||||
|
|
|
|||
BIN
数据库本地运行.docx
BIN
数据库本地运行.docx
Binary file not shown.
Loading…
Reference in New Issue