From cf17ccfff2c5b2ed138f1693c815c4b93811f24b Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 17 Apr 2018 21:07:56 +0800
Subject: [PATCH] 通用ip - 0.0.0.0
---
config.js | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/config.js b/config.js
index 9e9acd4..6f91cbf 100644
--- a/config.js
+++ b/config.js
@@ -4,11 +4,31 @@
var config = {
- HOST: "121.40.92.176",
+ HOST: "0.0.0.0",
PORT: 6789,
- URL: "mongodb://127.0.0.1:27017/moral_db",
+ URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@localhost: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