需两次购买:①订购原厂商接口 ②订购易源会员包代理转发;可将您的Mysql数据库接口转化为http接口,提高开发便利性。提供记录的增删查改、count、discint、建表等功能。 演示时默认使用的是公用测试库,数据不定期清理。如需要用于生产环境, 请绑定自己MySQL数据即可。
根据条件,查询不同的记录列表。
showapi_res_body
curl -X POST "https://connector.showapi.com/27-8?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "ds_id=&table=user&where=name%3D%3F%20and%20age%3D%3F&where_param=%5B%22%E5%BC%A0%E4%B8%89%22%2C30%5D&distinct=*"
{ "showapi_res_error": "", "showapi_res_id": "1b828ea4993e4cf2bd8e64133013d9f3", "showapi_res_code": 0, "showapi_res_body": { "list": [ { "age": 30, "name": "张三2222", "id": 3 }, { "age": 156, "name": "张三2222", "id": 22 }, { "age": 123, "name": "张三2222", "id": 24 }, { "age": 28, "name": "李四", "id": 31 }, { "age": 28, "name": "李四", "id": 32 } ], "remark": "", "ret_code": 0 } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-27": { "url": "http://www.showapi.com.cn/mcp/27/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033