沈斌
2016-12-25 dcb01752869456fecbee0ec0a5a0dcb8d3c39a4b
bugfix
1 files modified
2 ■■■■■ changed files
method.js 2 ●●●●● patch | view | raw | blame | history
method.js
@@ -359,6 +359,7 @@
            if(notice == null) {
                var userID = doc.userID;
                db.collection("users").find({"_id": userID}).limit(1).next(function(err, user){
                    if(user) {
                    global.configs[mac] = {
                        address: address,
                        location: location,
@@ -368,6 +369,7 @@
                            open_id: user.open_id
                        }
                    }
                    }
                });
            } else {
                global.configs[mac] = {