root 3 years ago
parent
commit
ab5bf3be71
1 changed files with 3 additions and 3 deletions
  1. 3 3
      mysql.js

+ 3 - 3
mysql.js

@@ -29,10 +29,10 @@ exports.usselect = function (param, callback) {
             if (error) { //连接错误
                 console.log("连接失败:", error);
             } else { //连接成功
-                for (i = 0; i < param.length; i++) {
-                    param[i] = decodeURIComponent(param[i]);
+                // for (i = 0; i < param.length; i++) {
+                //     param[i] = decodeURIComponent(param[i]);
                     
-                } //格式化处理参数
+                // } //格式化处理参数
                 var i, _sql = "CALL ";
                 var _param = new Array();
                 if (param.length > 3) { //带有参数的sql语句  如:'call test(?, ?, ?);'