mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-24 08:31:45 +08:00
https://github.com/chatopera/cskefu/issues/714 rollback to java 8
This commit is contained in:
parent
9e3292ac70
commit
7c35019904
@ -1,4 +1,4 @@
|
|||||||
FROM chatopera/java:11
|
FROM chatopera/java-1.8.0-amazon-corretto-jdk:1.0.0
|
||||||
MAINTAINER Hai Liang Wang <hain@chatopera.com>
|
MAINTAINER Hai Liang Wang <hain@chatopera.com>
|
||||||
# base image is built with config/base/build.sh
|
# base image is built with config/base/build.sh
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ public class Application {
|
|||||||
private String multipartMaxRequest;
|
private String multipartMaxRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 记载模块
|
* 加载模块
|
||||||
*/
|
*/
|
||||||
static {
|
static {
|
||||||
// CRM模块
|
// CRM模块
|
||||||
@ -83,6 +83,16 @@ public class Application {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开源许可协议
|
||||||
|
*/
|
||||||
|
protected static void license(){
|
||||||
|
System.out.println(">> 春松客服采用开源许可证:Apache License 2.0");
|
||||||
|
System.out.println(">> 详细介绍:https://docs.chatopera.com/products/cskefu/osc/license.html");
|
||||||
|
System.out.println(">> CSKeFu is released under Apache License 2.0");
|
||||||
|
System.out.println(">> Get details about CSKeFu License with https://docs.chatopera.com/products/cskefu/osc/license.html");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init local resources
|
* Init local resources
|
||||||
*/
|
*/
|
||||||
@ -96,8 +106,7 @@ public class Application {
|
|||||||
SpringApplication app = new SpringApplicationBuilder(Application.class)
|
SpringApplication app = new SpringApplicationBuilder(Application.class)
|
||||||
.properties("spring.config.name:application,git")
|
.properties("spring.config.name:application,git")
|
||||||
.build();
|
.build();
|
||||||
System.out.println("春松客服采用开源许可证:Apache License 2.0");
|
Application.license();
|
||||||
System.out.println("详细介绍:https://docs.chatopera.com/products/cskefu/osc/license.html");
|
|
||||||
BlessingAndUnblessing.print();
|
BlessingAndUnblessing.print();
|
||||||
app.setBannerMode(Banner.Mode.CONSOLE);
|
app.setBannerMode(Banner.Mode.CONSOLE);
|
||||||
app.setAddCommandLineProperties(false);
|
app.setAddCommandLineProperties(false);
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>11</java.version>
|
<java.version>1.8</java.version>
|
||||||
<argLine>-Dfile.encoding=UTF-8</argLine>
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user