Browse Source

增加OkHttp配置文件读取

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

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

@@ -38,14 +38,14 @@ public class DipperPositionApplication {
log.info("北斗定位服务启动!");
try {
test();
//启动服务端
DipperPositionServer nettyServer = new DipperPositionServer();
nettyServer.startTimeAsnc();
nettyServer.startPosAsnc();
nettyServer.startStarsAsnc();
} catch (Exception e) {
log.error(e.getMessage());
}
//启动服务端
DipperPositionServer nettyServer = new DipperPositionServer();
nettyServer.startTimeAsnc();
nettyServer.startPosAsnc();
nettyServer.startStarsAsnc();
}

private static void test() throws NacosException {


Loading…
Cancel
Save