@@ -33,8 +33,8 @@ public class DipperPositionApplication { | |||
log.info("北斗定位服务启动!"); | |||
//启动服务端 | |||
ConfigurableEnvironment environment = applicationContext.getEnvironment(); | |||
TimeAsyncServer timeAsyncServer = new TimeAsyncServer(environment); | |||
timeAsyncServer.start(); | |||
// TimeAsyncServer timeAsyncServer = new TimeAsyncServer(environment); | |||
// timeAsyncServer.start(); | |||
DipperPositionServer nettyServer = new DipperPositionServer(environment); | |||
nettyServer.start(); | |||
} catch (Exception e) { | |||
@@ -1,7 +1,6 @@ | |||
package com.telpo.dipperposition.mapper; | |||
import com.telpo.dipperposition.annotation.MongoSwitch; | |||
import com.telpo.dipperposition.config.NettyServerConfig; | |||
import com.telpo.dipperposition.entity.mongo.IPProvinceEntity; | |||
import db.BaseMongoDbDao; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||