From 9e3292ac700af59a8e9da120e2041c3c06cf6204 Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Sat, 25 Jun 2022 08:09:53 +0800 Subject: [PATCH] https://github.com/chatopera/cskefu/issues/713 print license in start log, upgrade to lang lvl to java 11 --- contact-center/Dockerfile | 2 +- .../java/com/chatopera/cc/Application.java | 2 ++ .../app/src/main/resources/banner.txt | 19 ++++++++++++------- contact-center/root/pom.xml | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/contact-center/Dockerfile b/contact-center/Dockerfile index 70bdb12d..d9090ab8 100644 --- a/contact-center/Dockerfile +++ b/contact-center/Dockerfile @@ -1,4 +1,4 @@ -FROM chatopera/java-1.8.0-amazon-corretto-jdk:1.0.0 +FROM chatopera/java:11 MAINTAINER Hai Liang Wang # base image is built with config/base/build.sh diff --git a/contact-center/app/src/main/java/com/chatopera/cc/Application.java b/contact-center/app/src/main/java/com/chatopera/cc/Application.java index 29bf7845..f5d7b89b 100644 --- a/contact-center/app/src/main/java/com/chatopera/cc/Application.java +++ b/contact-center/app/src/main/java/com/chatopera/cc/Application.java @@ -96,6 +96,8 @@ 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"); BlessingAndUnblessing.print(); app.setBannerMode(Banner.Mode.CONSOLE); app.setAddCommandLineProperties(false); diff --git a/contact-center/app/src/main/resources/banner.txt b/contact-center/app/src/main/resources/banner.txt index 06690c79..072eb967 100644 --- a/contact-center/app/src/main/resources/banner.txt +++ b/contact-center/app/src/main/resources/banner.txt @@ -1,12 +1,17 @@ - . . . - .... ... .. ... .||. .... .... .||. .... .... .. ... .||. .... ... .. -.| '' .| '|. || || || '' .|| .| '' || .| '' .|...|| || || || .|...|| ||' '' -|| || || || || || .|' || || || || || || || || || || - '|...' '|..|' .||. ||. '|.' '|..'|' '|...' '|.' '|...' '|...' .||. ||. '|.' '|...' .||. + ___ ___ ___ ___ ___ + / /\ / /\ / /\ / /\ ___ / /\ + / /::\ / /::\ / /:/ / /::\ / /\ / /:/ + / /:/\:\ /__/:/\:\ / /:/ / /:/\:\ / /::\ / /:/ + / /:/ \:\ _\_ \:\ \:\ / /::\____ / /::\ \:\ / /:/\:\ / /:/ + /__/:/ \ \:\ /__/\ \:\ \:\ /__/:/\:::::\ /__/:/\:\ \:\ / /::\ \:\ /__/:/ /\ + \ \:\ \__\/ \ \:\ \:\_\/ \__\/~|:|~~~~ \ \:\ \:\_\/ /__/:/\:\ \:\ \ \:\ /:/ + \ \:\ \ \:\_\:\ | |:| \ \:\ \:\ \__\/ \:\_\/ \ \:\ /:/ + \ \:\ \ \:\/:/ | |:| \ \:\_\/ \ \:\ \ \:\/:/ + \ \:\ \ \::/ |__|:| \ \:\ \__\/ \ \::/ + \__\/ \__\/ \__\| \__\/ \__\/ -==================== Powered by Chatopera Inc. ================= +==================== Powered by CSKeFu ================= 春松客服: 合作开源客服系统,共赢未来! v${git.build.version} build ${git.commit.id.abbrev} -开源许可证:Apache License 2.0 开源社区:https://www.cskefu.com 系统进行初始化,第一次安装后,根据文档进行配置 diff --git a/contact-center/root/pom.xml b/contact-center/root/pom.xml index 1a291457..c4df3b1a 100644 --- a/contact-center/root/pom.xml +++ b/contact-center/root/pom.xml @@ -15,7 +15,7 @@ UTF-8 - 1.8 + 11 -Dfile.encoding=UTF-8