bash-If Statement Examples

Bash conditional statements perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false. These statements are used to execute different parts of your shell program depending on whether certain conditions are true. The ability to branch makes shell scripts powerful.

In Bash, we have the following conditional statements:

  1. if..then..fi statement (Simple If)
  2. if..then..else..fi statement (If-Else)
  3. if..elif..else..fi statement (Else If ladder)
  4. if..then..else..if..then..fi..fi..(Nested if)

These are similar to the awk if statements we discussed earlier.

1. Bash If..then..fi statement

if [ conditional expression ]
then
	statement1
	statement2
	.
fi

This if statement is also called as simple if statement. If the given conditional expression is true, it enters and executes the statements enclosed between the keywords “then” and “fi”. If the given expression returns zero, then consequent statement list is executed.

if then fi example:

#!/bin/bash
count=100
if [ $count -eq 100 ]
then
  echo "Count is 100"
fi

2. Bash If..then..else..fi statement

If [ conditional expression ]
then
	statement1
	statement2
	.
else
	statement3
	statement4
	.
fi

If the conditional expression is true, it executes the statement1 and 2. If the conditional expression returns zero, it jumps to else part, and executes the statement3 and 4. After the execution of if/else part, execution resume with the consequent statements.

if then else fi example:

#!/bin/bash
count=99
if [ $count -eq 100 ]
then
  echo "Count is 100"
else
  echo "Count is not 100"
fi

Note: This article is part of the ongoing Bash Tutorial series.

3. Bash If..elif..else..fi

If [ conditional expression1 ]
then
	statement1
	statement2
	.
elif [ conditional expression2 ]
then
	statement3
	statement4
	.
.
.
else
	statement5
fi

You can use this if .. elif.. if , if you want to select one of many blocks of code to execute. It checks expression 1, if it is true executes statement 1,2. If expression1 is false, it checks expression2, and if all the expression is false, then it enters into else block and executes the statements in the else block.

if then elif then else fi example:

#!/bin/bash
count=99
if [ $count -eq 100 ]
then
  echo "Count is 100"
elif [ $count -gt 100 ]
then
  echo "Count is greater than 100"
else
  echo "Count is less than 100"
fi

4. Bash If..then..else..if..then..fi..fi..

If [ conditional expression1 ]
then
	statement1
	statement2
	.
else
	if [ conditional expression2 ]
	then
		statement3
		.
	fi
fi

If statement and else statement could be nested in bash. The keyword “fi” indicates the end of the inner if statement and all if statement should end with the keyword “fi”.

The “if then elif then else fi” example mentioned in above can be converted to the nested if as shown below.

#!/bin/bash
count=99
if [ $count -eq 100 ]
then
  echo "Count is 100"
else
  if [ $count -gt 100 ]
  then
    echo "Count is greater than 100"
  else
  echo "Count is less than 100"
  fi
fi
翻译: Storage Engine Options Storage engines are built as plugins. You can build a plugin as a static module (compiled into the server) or a dynamic module (built as a dynamic library that must be installed into the server using the INSTALL PLUGIN statement or the --plugin-load option before it can be used). Some plugins might not support static or dynamic building. The InnoDB, MyISAM, MERGE, MEMORY, and CSV engines are mandatory (always compiled into the server) and need not be installed explicitly. To compile a storage engine statically into the server, use -DWITH_engine_STORAGE_ENGINE=1. Some permissible engine values are ARCHIVE, BLACKHOLE, EXAMPLE, and FEDERATED. Examples: -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 To build MySQL with support for NDB Cluster, use the WITH_NDB option. Note It is not possible to compile without Performance Schema support. If it is desired to compile without particular types of instrumentation, that can be done with the following CMake options: DISABLE_PSI_COND DISABLE_PSI_DATA_LOCK DISABLE_PSI_ERROR DISABLE_PSI_FILE DISABLE_PSI_IDLE DISABLE_PSI_MEMORY DISABLE_PSI_METADATA DISABLE_PSI_MUTEX DISABLE_PSI_PS DISABLE_PSI_RWLOCK DISABLE_PSI_SOCKET DISABLE_PSI_SP DISABLE_PSI_STAGE DISABLE_PSI_STATEMENT DISABLE_PSI_STATEMENT_DIGEST DISABLE_PSI_TABLE DISABLE_PSI_THREAD DISABLE_PSI_TRANSACTION For example, to compile without mutex instrumentation, configure MySQL using -DDISABLE_PSI_MUTEX=1. To exclude a storage engine from the build, use -DWITH_engine_STORAGE_ENGINE=0. Examples: -DWITH_ARCHIVE_STORAGE_ENGINE=0 -DWITH_EXAMPLE_STORAGE_ENGINE=0 -DWITH_FEDERATED_STORAGE_ENGINE=0 It is also possible to exclude a storage engine from the build using -DWITHOUT_engine_STORAGE_ENGINE=1 (but -DWITH_engine_STORAGE_ENGINE=0 is preferred). Examples: -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 If neither -DWITH_engine_STORAGE_ENGINE nor -DWITHOUT_engine_STORAGE_ENGINE are specified for a given storage engine, the engine is built as a shared module, or excluded if it cannot be built as a shared module.
04-04
我在开发一个适老化服务平台, 现在正在开发健康板块下的一个在线问诊功能, 我引进了gpt-2模型进行回复功能, 但现在我在前端, 客户端界面发起问诊时, 后端无法正常调用模型生成回复现在应该怎么做 D:\Soft\app\anaconda\python.exe "D:\GDUT\projectdata\python\pythonProject\Eldly service platform\main.py" 2025-05-11 14:57:35,717 - INFO - Received Socket.IO status: {'message': 'Connected to server'} 2025-05-11 14:57:35,718 - INFO - Socket.IO connection opened. 2025-05-11 14:57:35,724 - WARNING - 无法找到背景图片:Data/Background.png 无法加载背景图片 2025-05-11 14:57:49,961 - INFO - Consult message sent successfully. 2025-05-11 14:57:50,228 - INFO - Received Socket.IO message: {'from': '张医生', 'message': '迷是�'} 2025-05-11 14:58:40,478 - INFO - Attempting to book exam: 常规体检 on 2025-05-11 2025-05-11 14:58:42,546 - ERROR - Booking request failed: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:5000/api/book_exam 2025-05-11 14:58:56,119 - INFO - Attempting to book exam: 常规体检 on 2025-05-11 2025-05-11 14:58:58,170 - ERROR - Booking request failed: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:5000/api/book_exam 进程已结束,退出代码为 -1 前端输出日志 D:\Soft\app\anaconda\python.exe "D:\GDUT\projectdata\python\pythonProject\Eldly service platform\Community_process.py" Server initialized for threading. 2025-05-11 14:57:11,013 - INFO - Server initialized for threading. 2025-05-11 14:57:11,015 - INFO - Database initialized successfully. 2025-05-11 14:57:11,015 - INFO - Loading GPT-2 model... Database tables created successfully! Device set to use cpu 2025-05-11 14:57:11,938 - INFO - GPT-2 model loaded successfully. 2025-05-11 14:57:11,938 - INFO - Starting Flask server on http://localhost:5000... 2025-05-11 14:57:11,939 - WARNING - Werkzeug appears to be used in a production deployment. Consider switching to a production web server instead. 2025-05-11 14:57:11,948 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Serving Flask app 'Community_process' * Debug mode: off * Running on http://localhost:5000 2025-05-11 14:57:11,948 - INFO - Press CTRL+C to quit 2025-05-11 14:57:18,192 - INFO - Health check request received. 2025-05-11 14:57:18,192 - INFO - 127.0.0.1 - - [11/May/2025 14:57:18] "GET / HTTP/1.1" 200 - fR7RxP4HZVl2KOItAAAA: Sending packet OPEN data {'sid': 'fR7RxP4HZVl2KOItAAAA', 'upgrades': ['websocket'], 'pingTimeout': 20000, 'pingInterval': 25000, 'maxPayload': 1000000} 2025-05-11 14:57:33,658 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet OPEN data {'sid': 'fR7RxP4HZVl2KOItAAAA', 'upgrades': ['websocket'], 'pingTimeout': 20000, 'pingInterval': 25000, 'maxPayload': 1000000} 2025-05-11 14:57:33,660 - INFO - 127.0.0.1 - - [11/May/2025 14:57:33] "GET /socket.io/?transport=polling&EIO=4&t=1746946651.6086588 HTTP/1.1" 200 - fR7RxP4HZVl2KOItAAAA: Received request to upgrade to websocket 2025-05-11 14:57:35,713 - INFO - fR7RxP4HZVl2KOItAAAA: Received request to upgrade to websocket fR7RxP4HZVl2KOItAAAA: Upgrade to websocket successful 2025-05-11 14:57:35,716 - INFO - fR7RxP4HZVl2KOItAAAA: Upgrade to websocket successful fR7RxP4HZVl2KOItAAAA: Received packet MESSAGE data 0{} 2025-05-11 14:57:35,716 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet MESSAGE data 0{} 2025-05-11 14:57:35,717 - INFO - Client connected to WebSocket emitting event "status" to hPVrGdOiqB-_O4AEAAAB [/] 2025-05-11 14:57:35,717 - INFO - emitting event "status" to hPVrGdOiqB-_O4AEAAAB [/] fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 2["status",{"message":"Connected to server"}] 2025-05-11 14:57:35,717 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 2["status",{"message":"Connected to server"}] fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 0{"sid":"hPVrGdOiqB-_O4AEAAAB"} 2025-05-11 14:57:35,717 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 0{"sid":"hPVrGdOiqB-_O4AEAAAB"} fR7RxP4HZVl2KOItAAAA: Received packet MESSAGE data 2["message",{"message":"\u6211\u5934\u75db","doctor_name":"\u5f20\u533b\u751f","user_id":"elder_user_001"}] 2025-05-11 14:57:49,962 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet MESSAGE data 2["message",{"message":"\u6211\u5934\u75db","doctor_name":"\u5f20\u533b\u751f","user_id":"elder_user_001"}] received event "message" from hPVrGdOiqB-_O4AEAAAB [/] 2025-05-11 14:57:49,962 - INFO - received event "message" from hPVrGdOiqB-_O4AEAAAB [/] 2025-05-11 14:57:49,963 - INFO - Received WebSocket message: {'message': '我头痛', 'doctor_name': '张医生', 'user_id': 'elder_user_001'} Truncation was not explicitly activated but `max_length` is provided a specific value, please use `truncation=True` to explicitly truncate examples to max length. Defaulting to 'longest_first' truncation strategy. If you encode pairs of sequences (GLUE-style) with the tokenizer you can select this strategy more precisely by providing a specific strategy to `truncation`. Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation. 2025-05-11 14:57:50,210 - INFO - Generated response for 张医生: 迷是�... 2025-05-11 14:57:50,228 - ERROR - Database error during consultation storage: (sqlite3.OperationalError) no such column: users.age [SQL: SELECT users.id AS users_id, users.username AS users_username, users.age AS users_age, users.gender AS users_gender, users.phone AS users_phone, users.address AS users_address, users.emergency_contact AS users_emergency_contact, users.emergency_phone AS users_emergency_phone, users.created_at AS users_created_at FROM users WHERE users.id = ?] [parameters: ('elder_user_001',)] (Background on this error at: https://sqlalche.me/e/20/e3q8) emitting event "message" to hPVrGdOiqB-_O4AEAAAB [/] 2025-05-11 14:57:50,228 - INFO - emitting event "message" to hPVrGdOiqB-_O4AEAAAB [/] fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 2["message",{"from":"\u5f20\u533b\u751f","message":"\u8ff7\u662f\ufffd"}] 2025-05-11 14:57:50,228 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet MESSAGE data 2["message",{"from":"\u5f20\u533b\u751f","message":"\u8ff7\u662f\ufffd"}] fR7RxP4HZVl2KOItAAAA: Sending packet PING data None 2025-05-11 14:57:58,660 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:57:58,661 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet PONG data fR7RxP4HZVl2KOItAAAA: Sending packet PING data None 2025-05-11 14:58:23,662 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:58:23,662 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:58:42,538 - INFO - Received exam booking request. 2025-05-11 14:58:42,538 - ERROR - Exception on /api/book_exam [POST] Traceback (most recent call last): File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such column: users.age The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\GDUT\projectdata\python\pythonProject\Eldly service platform\Community_process.py", line 62, in book_exam user = session.get(User, user_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 3682, in get return self._get_impl( ^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 3862, in _get_impl return db_load_fn( ^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\loading.py", line 694, in load_on_pk_identity session.execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 2351, in execute return self._execute_internal( ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 2236, in _execute_internal result: Result[Any] = compile_state_cls.orm_execute_statement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\context.py", line 293, in orm_execute_statement result = conn.execute( ^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1418, in execute return meth( ^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\sql\elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1640, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 2353, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: users.age [SQL: SELECT users.id AS users_id, users.username AS users_username, users.age AS users_age, users.gender AS users_gender, users.phone AS users_phone, users.address AS users_address, users.emergency_contact AS users_emergency_contact, users.emergency_phone AS users_emergency_phone, users.created_at AS users_created_at FROM users WHERE users.id = ?] [parameters: ('elder_user_001',)] (Background on this error at: https://sqlalche.me/e/20/e3q8) 2025-05-11 14:58:42,546 - INFO - 127.0.0.1 - - [11/May/2025 14:58:42] "POST /api/book_exam HTTP/1.1" 500 - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None 2025-05-11 14:58:48,664 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:58:48,664 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:58:58,165 - INFO - Received exam booking request. 2025-05-11 14:58:58,167 - ERROR - Exception on /api/book_exam [POST] Traceback (most recent call last): File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such column: users.age The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\GDUT\projectdata\python\pythonProject\Eldly service platform\Community_process.py", line 62, in book_exam user = session.get(User, user_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 3682, in get return self._get_impl( ^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 3862, in _get_impl return db_load_fn( ^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\loading.py", line 694, in load_on_pk_identity session.execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 2351, in execute return self._execute_internal( ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\session.py", line 2236, in _execute_internal result: Result[Any] = compile_state_cls.orm_execute_statement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\orm\context.py", line 293, in orm_execute_statement result = conn.execute( ^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1418, in execute return meth( ^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\sql\elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1640, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 2353, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "D:\Soft\app\anaconda\Lib\site-packages\sqlalchemy\engine\default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: users.age [SQL: SELECT users.id AS users_id, users.username AS users_username, users.age AS users_age, users.gender AS users_gender, users.phone AS users_phone, users.address AS users_address, users.emergency_contact AS users_emergency_contact, users.emergency_phone AS users_emergency_phone, users.created_at AS users_created_at FROM users WHERE users.id = ?] [parameters: ('elder_user_001',)] (Background on this error at: https://sqlalche.me/e/20/e3q8) 2025-05-11 14:58:58,170 - INFO - 127.0.0.1 - - [11/May/2025 14:58:58] "POST /api/book_exam HTTP/1.1" 500 - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None 2025-05-11 14:59:13,665 - INFO - fR7RxP4HZVl2KOItAAAA: Sending packet PING data None fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:59:13,665 - INFO - fR7RxP4HZVl2KOItAAAA: Received packet PONG data 2025-05-11 14:59:23,613 - INFO - Client disconnected from WebSocket 2025-05-11 14:59:23,613 - INFO - 127.0.0.1 - - [11/May/2025 14:59:23] "GET /socket.io/?transport=websocket&EIO=4&sid=fR7RxP4HZVl2KOItAAAA&t=1746946653.6612737 HTTP/1.1" 200 - 进程已结束,退出代码为 -1 后端输出日志
最新发布
05-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值