MySQL转HTTP接口(27)-支持文档

## 自定义SQL语句 - sql语句为: ``` delete from user where id={{@id}} ``` - 此sql语句的编码为`my-delete` ## 调用测试 ![](https://oss.showapi.com/doc/3111/5/4c0d944e177d_1612925544941.png?x-oss-process=image/resize,p_100) 其中输入的json串showapi_sql_params,值为: ``` { "id": 3 } ``` id属性将赋值于这个sql语句: ``` delete from user where id={{@id}} ``` 最终执行的sql语句是: ``` delete from user where id=3 ``` >使用{{@变量}}的形式,接口会自动判断是否加单引号,并做sql反注射。