Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
pxw_boy
cskefu
提交
33ff9aab
C
cskefu
项目概览
pxw_boy
/
cskefu
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cskefu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
33ff9aab
编写于
5月 20, 2020
作者:
Chatopera 研发团队
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
https://gitlab.chatopera.com/chatopera/cosinee/issues/965
add contact info in login page
上级
5e379ac0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
3 deletion
+13
-3
contact-center/app/src/main/java/com/chatopera/cc/controller/LoginController.java
...ain/java/com/chatopera/cc/controller/LoginController.java
+7
-1
contact-center/app/src/main/resources/application.properties
contact-center/app/src/main/resources/application.properties
+1
-0
contact-center/app/src/main/resources/static/css/login.css
contact-center/app/src/main/resources/static/css/login.css
+1
-1
contact-center/app/src/main/resources/templates/login.html
contact-center/app/src/main/resources/templates/login.html
+4
-1
未找到文件。
contact-center/app/src/main/java/com/chatopera/cc/controller/LoginController.java
浏览文件 @
33ff9aab
...
...
@@ -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
;
}
...
...
contact-center/app/src/main/resources/application.properties
浏览文件 @
33ff9aab
...
...
@@ -185,6 +185,7 @@ cskefu.callout.watch.interval=60000
# 企业聊天机器人
##############################################
bot.baseurl
=
https://bot.chatopera.com
ads.login.banner
=
placeholder
##############################################
# 业务功能相关设置
...
...
contact-center/app/src/main/resources/static/css/login.css
浏览文件 @
33ff9aab
...
...
@@ -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
{
...
...
contact-center/app/src/main/resources/templates/login.html
浏览文件 @
33ff9aab
...
...
@@ -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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录