rabin 7 years ago
parent
commit
a195c5d866
2 changed files with 4 additions and 4 deletions
  1. 1 1
      conf/dev.conf
  2. 3 3
      conf/env.conf

+ 1 - 1
conf/dev.conf

@@ -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				= 0.0.0.0

+ 3 - 3
conf/env.conf

@@ -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=
 
 ;微信小程序配置