From 06a6dc6aba7a5ebb55ef50473b7fa165594eb004 Mon Sep 17 00:00:00 2001
From: 沈斌 <23420800@qq.com>
Date: Tue, 31 Jan 2017 15:45:28 +0800
Subject: [PATCH] 修复json config中notice问题
---
method.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/method.js b/method.js
index b27d55d..1480ee3 100644
--- a/method.js
+++ b/method.js
@@ -377,7 +377,7 @@
var userID = doc.userID;
db.collection("users").find({"_id": userID}).limit(1).next(function(err, user){
if(user) {
- config[notice] = {
+ config["notice"] = {
tel: user.username,
email: user.email,
open_id: user.open_id
--
Gitblit v1.8.0