提交修改

This commit is contained in:
daihh
2022-10-27 23:14:21 +08:00
parent 9a2504c856
commit ce4a92e554
5 changed files with 7 additions and 25 deletions

View File

@@ -2,12 +2,10 @@ package com.xboe;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
@Configuration @Configuration
@SpringBootApplication @SpringBootApplication
@EnableCaching
public class BoeBasicApplication { public class BoeBasicApplication {
public static void main(String[] args) { public static void main(String[] args) {

View File

@@ -33,6 +33,7 @@ public class StartRunner implements ApplicationRunner {
log.error("执行失败",e); log.error("执行失败",e);
e.printStackTrace(); e.printStackTrace();
} }
System.exit(0);
} }

View File

@@ -6,18 +6,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("/org-user") @RequestMapping("/modify")
public class userOrgApi { public class ModifyApi {
/**
* 新系统查询老系统添加或者更新机构
* */
@GetMapping("/save-org")
public JsonResponse<Boolean> saveOrg(){
//查询数据
return null;
}
/** /**

View File

@@ -70,7 +70,7 @@ public class ModifyServiceImpl implements IModifyService {
e.printStackTrace(); e.printStackTrace();
} }
//程序自动 退出 //程序自动 退出
System.exit(0);
} }

View File

@@ -1,6 +1,6 @@
spring.profiles.active=@profileActive@ spring.profiles.active=@profileActive@
spring.application.name=boe-server-basic spring.application.name=boe-server-modify
server.port=9096 server.port=9196
server.servlet.session.timeout=30m server.servlet.session.timeout=30m
@@ -11,16 +11,6 @@ server.servlet.encoding.force=true
server.tomcat.uri-encoding=UTF-8 server.tomcat.uri-encoding=UTF-8
ok.http.connect-timeout=30
ok.http.read-timeout=30
ok.http.write-timeout=30
# 连接池中整体的空闲连接的最大数量
ok.http.max-idle-connections=200
# 连接空闲时间最多为 300 秒
ok.http.keep-alive-duration=300
#spring.jackson.locale= #spring.jackson.locale=
#spring.jackson.date-format=yyyy-MM-dd HH:mm:ss #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
# spring.jackson.default-property-inclusion=NON_NULL # spring.jackson.default-property-inclusion=NON_NULL