Commit 36f5cc2c6411c877ab1c1b9dda3400d27ab7b56d

Authored by 潘钊
1 parent 2a78f832

update..

src/main/java/com/bsth/client/pd/handler/PdClientHandler.java
1 1 package com.bsth.client.pd.handler;
2 2  
  3 +import com.bsth.client.ClientApp;
3 4 import com.bsth.client.GpsBeforeBuffer;
4 5 import com.bsth.client.msg.IMessageBody;
5 6 import com.bsth.client.pd.protocol.PdMessage;
... ... @@ -45,7 +46,7 @@ public class PdClientHandler extends IoHandlerAdapter{
45 46 log.info("连网关设备编号:" + deviceId + "断开连接");
46 47 log.warn(deviceId + "网关设备注销");
47 48  
48   - //ClientApp.dconnect(deviceId);
  49 + ClientApp.dconnect(deviceId);
49 50 } else {
50 51 log.info("连网关设备编号:" + deviceId + "断开连接");
51 52 }
... ...
src/main/resources/application.properties
1 1 spring.profiles: dev,prod
2   -spring.profiles.active: dev
3 2 \ No newline at end of file
  3 +spring.profiles.active: prod
4 4 \ No newline at end of file
... ...