SELECT 1)并返回此查询成功与否的布尔值。Authorization: Bearer ********************{
"type": "mysql",
"host": "127.0.0.1",
"port": "3306",
"username": "root",
"password": "*****",
"database": "peerbanhelper"
}curl --location --request POST 'http://127.0.0.1:9897/api/general/testDatabaseConfig' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "mysql",
"host": "127.0.0.1",
"port": "3306",
"username": "root",
"password": "*****",
"database": "peerbanhelper"
}'{
"success": true,
"message": null,
"data": true
}