mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-16 00:22:22 +08:00
fix #405 leave msg off error
This commit is contained in:
parent
cbf135b2e7
commit
7353a54ba1
@ -696,7 +696,7 @@ public class IMController extends Handler {
|
||||
map.addAttribute("title", title);
|
||||
}
|
||||
if (StringUtils.isNotBlank(traceid)) {
|
||||
map.addAttribute("url", URLEncoder.encode(url,"utf-8"));
|
||||
map.addAttribute("url", URLEncoder.encode(url, "utf-8"));
|
||||
}
|
||||
|
||||
map.addAttribute("cskefuport", request.getServerPort());
|
||||
@ -731,7 +731,11 @@ public class IMController extends Handler {
|
||||
isLeavemsg = true;
|
||||
boolean isInWorkingHours = MainUtils.isInWorkingHours(sessionConfig.getWorkinghours());
|
||||
map.addAttribute("isInWorkingHours", isInWorkingHours);
|
||||
view = request(super.createView("/apps/im/leavemsg"));
|
||||
if (invite.isLeavemessage()) {
|
||||
view = request(super.createView("/apps/im/leavemsg"));
|
||||
} else {
|
||||
view = request(super.createView("/apps/im/noagent"));
|
||||
}
|
||||
} else if (invite.isConsult_info()) { //启用了信息收集,从Request获取, 或从 Cookies 里去
|
||||
// 验证 OnlineUser 信息
|
||||
if (contacts != null && StringUtils.isNotBlank(
|
||||
|
@ -0,0 +1,20 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
meta(charset='utf-8')
|
||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||
meta(http-equiv='Cache-Control', content='no-siteapp')
|
||||
meta(name='viewport', content='width=device-width,maximum-scale=1,initial-scale=1,initial-scale=1,user-scalable=no')
|
||||
meta(name='apple-mobile-web-app-capable', content='yes')
|
||||
title 在线咨询
|
||||
link(rel='shortcut icon', type='image/x-icon', href='/images/favicon.ico?t=1489039620156')
|
||||
link(rel='stylesheet', type='text/css', href='/im/css/ukefu.css')
|
||||
link#skin(rel='stylesheet', type='text/css', href='/im/css/default/ukefu.css')
|
||||
body(class={'ukefu-point-text': type == 'text'},style='overflow:hidden;')
|
||||
.large.ukefu-im-theme(class="ukefu-theme-border-" + (type = 'text' ? inviteData.consult_dialog_color : ''))
|
||||
#containter.clearfix
|
||||
- var dialog_logo=inviteData.consult_dialog_logo?'/res/image.html?id='+inviteData.consult_dialog_logo:'/images/logo.png'
|
||||
#header(class='theme' + inviteData.consult_dialog_color)
|
||||
img(src=dialog_logo, style='height:30px;padding:10px;')
|
||||
.ukef-leavemsg-tip(style='padding-left: 15px;text-align: center;') 没有坐席在线,请稍后再试.
|
||||
|
Loading…
x
Reference in New Issue
Block a user