From 86c8cfce395beba4ad5583cbac76e5b01782a4d0 Mon Sep 17 00:00:00 2001
From: 沈斌 <23420800@qq.com>
Date: Tue, 14 Feb 2017 19:48:28 +0800
Subject: [PATCH] IP使用固定服务器IP等
---
config.js | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/config.js b/config.js
index 9e9acd4..9fb334b 100644
--- a/config.js
+++ b/config.js
@@ -6,9 +6,29 @@
HOST: "121.40.92.176",
PORT: 6789,
- URL: "mongodb://127.0.0.1:27017/moral_db",
+ URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@121.40.92.176:27017/moral_db",
COLLECTION: "documents",
+ ALARM_DEFAULTS: {
+ address: "���������������������������������",
+ location: {
+ lat:31.430616,
+ lng:120.988327
+ },
+ notice: {
+ tel: "",
+ email: "",
+ open_id: ""
+ },
+ options: {
+ 1: [1000, 2000, 3000],
+ 2: [1000, 2000, 3000],
+ 3: [1000, 2000, 3000],
+ 4: [1000, 2000, 3000],
+ 5: [1000, 2000, 3000]
+ }
+ },
+
OUTPUT_1: [
0x6A, 0x00, 0x00, 0x01, 0x00, 0x01, 0xA1, 0x1A, 0xC7, 0x6B
],
--
Gitblit v1.8.0