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>
|
||||
# base image is built with config/base/build.sh
|
||||
|
||||
|
@ -59,7 +59,7 @@ public class Application {
|
||||
private String multipartMaxRequest;
|
||||
|
||||
/**
|
||||
* 记载模块
|
||||
* 加载模块
|
||||
*/
|
||||
static {
|
||||
// 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
|
||||
*/
|
||||
@ -96,8 +106,7 @@ public class Application {
|
||||
SpringApplication app = new SpringApplicationBuilder(Application.class)
|
||||
.properties("spring.config.name:application,git")
|
||||
.build();
|
||||
System.out.println("春松客服采用开源许可证:Apache License 2.0");
|
||||
System.out.println("详细介绍:https://docs.chatopera.com/products/cskefu/osc/license.html");
|
||||
Application.license();
|
||||
BlessingAndUnblessing.print();
|
||||
app.setBannerMode(Banner.Mode.CONSOLE);
|
||||
app.setAddCommandLineProperties(false);
|
||||
|
@ -15,7 +15,7 @@
|
||||
</parent>
|
||||
<properties>
|
||||
<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>
|
||||
</properties>
|
||||
<dependencies>
|
||||
|
Loading…
x
Reference in New Issue
Block a user