1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-07-24 08:31:45 +08:00
This commit is contained in:
Hai Liang Wang 2022-06-25 08:36:00 +08:00
parent 9e3292ac70
commit 7c35019904
3 changed files with 14 additions and 5 deletions

View File

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

View File

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

View File

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