From 60f57996dbbffeb3c97eb622c6550e99aa0384c4 Mon Sep 17 00:00:00 2001 From: tonkia Date: Thu, 20 Dec 2018 21:45:57 +0800 Subject: [PATCH] syn --- db.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db.js b/db.js index f8f2218..a6a4c5b 100644 --- a/db.js +++ b/db.js @@ -34,6 +34,7 @@ module.exports.queryUserByAccount = function (account, callback) { }); }; +//获取方案数据 module.exports.querySchemeByUid = function (uid, callback) { connection.getConnection(function (err, conn) { if (err) { @@ -51,6 +52,7 @@ module.exports.querySchemeByUid = function (uid, callback) { }); }; +//增加方案数据 module.exports.insertScheme = function (uid, name, data, img, callback) { connection.getConnection(function (err, conn) { if (err) {