|
@@ -24,7 +24,7 @@ password = public
|
|
|
timeout = 60
|
|
|
;topic定义
|
|
|
topic = method/type/gateway/device
|
|
|
-sub = pic,sensor
|
|
|
+sub = pic,sensor,control,power,status,log
|
|
|
|
|
|
[postgresql]
|
|
|
host = iot-pgsql
|
|
@@ -64,7 +64,7 @@ xsrf_cookies = False
|
|
|
max_buffer_size = 210763776
|
|
|
;子进程
|
|
|
process = 0
|
|
|
-url = http://192.168.15.10:8088/device
|
|
|
+url = http://api.nongxiaohe.com/device
|
|
|
qrcode = http://pan.baidu.com/share/qrcode?w=300&h=300&url=
|
|
|
|
|
|
[web]
|
|
@@ -72,7 +72,7 @@ port = 8089
|
|
|
debug = True
|
|
|
max_buffer_size = 210763776
|
|
|
process = 0
|
|
|
-url = http://192.168.15.10:8089/
|
|
|
+url = http://www.nongxiaohe.com/
|
|
|
originurl = http://s.xinnongbaohe.com/?id=
|
|
|
|
|
|
;微信小程序配置
|