Browse Source

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 years ago
parent
commit
805d0f0e98
2 changed files with 2 additions and 3 deletions
  1. +2
    -2
      src/main/java/com/telpo/dipperposition/DipperPositionApplication.java
  2. +0
    -1
      src/main/java/com/telpo/dipperposition/mapper/IPProvinceMapper.java

+ 2
- 2
src/main/java/com/telpo/dipperposition/DipperPositionApplication.java View File

@@ -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) {


+ 0
- 1
src/main/java/com/telpo/dipperposition/mapper/IPProvinceMapper.java View File

@@ -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;


Loading…
Cancel
Save