包含 CodeAgent 前后端源码、SKILLS、MCP、demo 代码与工作区文档。 排除依赖缓存、运行数据、备份与二进制附件,规则见 .gitignore。 Co-Authored-By: Claude Code <[email protected]>
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
1.curl --url 'http://localhost:5173/api/database/connections/db_e18eab5fa937/test' \
|
|
-X 'POST' \
|
|
-H 'Accept: application/json, text/plain, */*' \
|
|
-H 'Accept-Language: zh-CN,zh;q=0.9' \
|
|
-H 'Connection: keep-alive' \
|
|
-H 'Content-Length: 0' \
|
|
-b 'SESSION=NzlmMTFmOWUtOTU2Mi00ZTQzLTk3OTktMTYxM2U1YjU5ODk0' \
|
|
-H 'Origin: http://localhost:5173' \
|
|
-H 'Referer: http://localhost:5173/' \
|
|
-H 'Sec-Fetch-Dest: empty' \
|
|
-H 'Sec-Fetch-Mode: cors' \
|
|
-H 'Sec-Fetch-Site: same-origin' \
|
|
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36' \
|
|
-H 'sec-ch-ua: "Chromium";v="154", "Google Chrome";v="154", "Not A(Brand";v="99"' \
|
|
-H 'sec-ch-ua-mobile: ?0' \
|
|
-H 'sec-ch-ua-platform: "Windows"'返回{
|
|
"code": 1,
|
|
"message": "连接失败:No module named 'pymysql'",
|
|
"data": {
|
|
"success": false,
|
|
"message": "连接失败:No module named 'pymysql'"
|
|
}
|
|
}
|
|
2.前端弹框"无法连接后端服务,请确认 FastAPI 已启动",提示不友好 |