mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-24 08:31:45 +08:00
https://gitlab.chatopera.com/chatopera/cosinee/issues/965 add contact info in login page
This commit is contained in:
parent
5e379ac0ab
commit
33ff9aab03
@ -94,6 +94,9 @@ public class LoginController extends Handler {
|
||||
@Value("${tongji.baidu.sitekey}")
|
||||
private String tongjiBaiduSiteKey;
|
||||
|
||||
@Value("${ads.login.banner}")
|
||||
private String adsLoginBanner;
|
||||
|
||||
/**
|
||||
* 登录页面
|
||||
*
|
||||
@ -155,10 +158,13 @@ public class LoginController extends Handler {
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(tongjiBaiduSiteKey) && !StringUtils.equalsIgnoreCase(tongjiBaiduSiteKey, "placeholder")) {
|
||||
logger.info("tongjiBaiduSiteKey: {}", tongjiBaiduSiteKey);
|
||||
view.addObject("tongjiBaiduSiteKey", tongjiBaiduSiteKey);
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(adsLoginBanner) && StringUtils.equalsIgnoreCase(adsLoginBanner, "on")){
|
||||
view.addObject("adsLoginBanner", "on");
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
@ -185,6 +185,7 @@ cskefu.callout.watch.interval=60000
|
||||
# 企业聊天机器人
|
||||
##############################################
|
||||
bot.baseurl=https://bot.chatopera.com
|
||||
ads.login.banner=placeholder
|
||||
|
||||
##############################################
|
||||
# 业务功能相关设置
|
||||
|
@ -70,7 +70,7 @@ html { *overflow:auto; font-family:"Microsoft Yahei","Helvetica","Simsun","Arial
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50%;
|
||||
background-size: 100%;
|
||||
padding: 20px 0;
|
||||
padding: 0 0;
|
||||
position: relative;
|
||||
}
|
||||
.login-box-body, .register-box-body{
|
||||
|
@ -55,7 +55,10 @@
|
||||
</head>
|
||||
|
||||
<body class="login">
|
||||
<div class="login-box">
|
||||
<#if adsLoginBanner??>
|
||||
<div style="width: 100%; height:50px; background-color: #2bd99e; padding-top: 0px;display: flex;"> <p style="color: white;margin: auto; font-size: 15px">商务洽谈:(+86)136-9149-0568; 售后技术支持:(+86)158-0121-3126; 云服务发票等:info@chatopera.com *本提示仅出现于演示环境</p> </div>
|
||||
</#if>
|
||||
<div class="login-box">
|
||||
<div class="login-logo">
|
||||
<a> <img src="<#if systemConfig?? && systemConfig.loginlogo?? && systemConfig.loginlogo != ''>/res/image.html?id=${systemConfig.loginlogo?url}<#else>images/logo2.png</#if>" style="height:60px;width:220px;">
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user