Commit 19365be1 authored by 孙傲's avatar 孙傲

解决连接超过4K限制问题

parent 83f3d678
...@@ -51,9 +51,9 @@ class DatabaseManagementSystem { ...@@ -51,9 +51,9 @@ class DatabaseManagementSystem {
let { data: { data } } = await this.http({ let { data: { data } } = await this.http({
url: query, url: query,
params: { params: {
database: database, database: database
params: queryParameters ? JSON.stringify(queryParameters) : null },
} data: queryParameters ? `-- ${JSON.stringify(queryParameters)}` : null,
}); });
return data; return data;
} }
......
{ {
"name": "nodejs-yitong-sdk", "name": "nodejs-yitong-sdk",
"version": "1.0.4", "version": "1.0.5",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment