1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-07-24 08:31:45 +08:00

Merge pull request #885 from hailiang-wang/feature/884

#884 set release version with properties
This commit is contained in:
Hai Liang W 2023-07-24 09:35:20 +08:00 committed by GitHub
commit 757229cb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public class ApplicationController extends Handler {
@Autowired
private ACDWorkMonitor acdWorkMonitor;
@Value("${git.build.version}")
@Value("${cskefu.build.version}")
private String appVersionNumber;
@Value("${git.commit.id.abbrev}")

View File

@ -146,6 +146,7 @@ cskefu.callout.watch.interval=60000
##############################################
# Modules
##############################################
cskefu.build.version=v8
cskefu.modules.contacts=true
cskefu.modules.cca=true
cskefu.modules.entim=false

View File

@ -305,7 +305,7 @@ html(xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xm
});
// 展示系统构建信息
function showSystemBuildInfo() {
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span> Release: #{appVersionNumber}</p></div>Build: #{appBuildDate}.<a href="https://github.com/cskefu/cskefu/commit/#{appVersionAbbrev}" target="_blank">#{appVersionAbbrev}</a> <br> Copyright (2018-2023) <a href="https://www.chatopera.com" target="_blank">Beijing Huaxia Chunsong Technology Co., Ltd.</a>, 开源许可协议: <a href="https://docs.cskefu.com/licenses/v1.html" target="_blank">Chunsong Public License, version 1.0</a> <br> <a href="https://docs.cskefu.com" target="_blank">文档中心</a> | <a href="https://www.cskefu.com/join-us/" target="_blank">加入开源社区</a> | <a href="https://www.chatopera.com/price.html" target="_blank">购买企业服务</a>',
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span> Release #{appVersionNumber}</p></div>Build: #{appBuildDate}.<a href="https://github.com/cskefu/cskefu/commit/#{appVersionAbbrev}" target="_blank">#{appVersionAbbrev}</a> <br> Copyright (2018-2023) <a href="https://www.chatopera.com" target="_blank">Beijing Huaxia Chunsong Technology Co., Ltd.</a>, 开源许可协议: <a href="https://docs.cskefu.com/licenses/v1.html" target="_blank">Chunsong Public License, version 1.0</a> <br> <a href="https://docs.cskefu.com" target="_blank">文档中心</a> | <a href="https://www.cskefu.com/join-us/" target="_blank">加入开源社区</a> | <a href="https://www.chatopera.com/price.html" target="_blank">购买企业服务</a>',
{icon: -1, title: '关于产品', btn: ["关闭"]}, function (index, layero) {
//do something
layer.close(index);