feat: 添加多个功能模块和工具脚本

- 新增websocket客户端和服务端实现
- 添加图片压缩工具和快速压缩脚本
- 实现学生信息处理相关API
- 添加MQTT客户端和消息处理功能
- 更新.gitignore忽略更多文件类型
- 添加数据库操作工具和示例
- 实现多个测试脚本和工具类
This commit is contained in:
2026-04-13 14:47:50 +08:00
parent 2cfd7c5a08
commit aac9f5934d
87 changed files with 216279 additions and 6519 deletions
+10 -29
View File
@@ -29,44 +29,25 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "3c046d8d",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<html>\n",
"<head><title>404 Not Found</title></head>\n",
"<body bgcolor=\"white\">\n",
"<center><h1>404 Not Found</h1></center>\n",
"<hr><center>nginx/1.4.0</center>\n",
"</body>\n",
"</html>\n",
"\n",
"<html>\n",
"<head><title>404 Not Found</title></head>\n",
"<body bgcolor=\"white\">\n",
"<center><h1>404 Not Found</h1></center>\n",
"<hr><center>nginx/1.4.0</center>\n",
"</body>\n",
"</html>\n",
"\n",
"<html>\n",
"<head><title>404 Not Found</title></head>\n",
"<body bgcolor=\"white\">\n",
"<center><h1>404 Not Found</h1></center>\n",
"<hr><center>nginx/1.4.0</center>\n",
"</body>\n",
"</html>\n",
"\n"
"ename": "",
"evalue": "",
"output_type": "error",
"traceback": [
"\u001b[1;31m在当前单元格或上一个单元格中执行代码时 Kernel 崩溃。\n",
"\u001b[1;31m请查看单元格中的代码,以确定故障的可能原因。\n",
"\u001b[1;31m单击<a href='https://aka.ms/vscodeJupyterKernelCrash'>此处</a>了解详细信息。\n",
"\u001b[1;31m有关更多详细信息,请查看 Jupyter <a href='command:jupyter.viewOutput'>log</a>。"
]
}
],
"source": [
"for i in range(24,27):\n",
" print(post(f\"{ip}/classAttendStu/createThisWeek\",headers=header,params={\"planId\":i},timeout=600).text)"
" post(f\"{ip}/classAttendStu/createThisWeek\",headers=header,params={\"planId\":i},timeout=600).text"
]
},
{