Authored by 李奇

客服入口开关控制切换老的live800客服链接删除

... ... @@ -12,9 +12,7 @@ const _ = require('lodash');
const helpers = global.yoho.helpers;
const getOnlineServiceInfo = (req, res, next) => {
let serviceUrl = _.get(req.app.locals.wap, 'clientService.new', false) ?
helpers.urlFormat('/service/im') :
'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
let serviceUrl = helpers.urlFormat('/service/im');
onlineModel.getOnlineServiceInfo().then((result) => {
... ...
... ... @@ -18,9 +18,7 @@ const addressProcess = require(global.utils + '/address-process');
const orderDetailData = (req, res, next) => {
let uid = req.user.uid;
let orderCode = req.query.order_code;
let serviceUrl = _.get(req.app.locals.wap, 'clientService.new', false) ?
helpers.urlFormat('/service/im') :
'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
let serviceUrl = helpers.urlFormat('/service/im');
if (req.query.openId) {
// 微信支付成功,发送支付确认接口
... ...
... ... @@ -37,9 +37,7 @@ const bind = {
let openId = req.query.openId;
let sourceType = req.query.sourceType;
let serviceUrl = _.get(req.app.locals.wap, 'clientService.new', false) ?
helpers.urlFormat('/service/im') :
'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
let serviceUrl = helpers.urlFormat('/service/im');
res.render('bind/index', {
bindIndex: true, // js标识
... ...
... ... @@ -178,9 +178,7 @@ let codeAction = (req, res, next) => {
});
}
let serviceUrl = _.get(req.app.locals.wap, 'clientService.new', false) ?
helpers.urlFormat('/service/im') :
'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
let serviceUrl = helpers.urlFormat('/service/im');
res.render('reg/code', {
page: 'code',
... ...
... ... @@ -22,9 +22,5 @@
<p>抱歉,没有找到与“<span class="noKey"></span>”相关的问题,</p>
<p>您可以换个词再试试</p>
</div>
{{#if @root.wap.clientService.new}}
<div class="fix-tip">没有相关问题,请联系<a href="/service/im">在线客服</a></div>
{{else}}
<div class="fix-tip">没有相关问题,请联系<a href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=">在线客服</a></div>
{{/if}}
</div>
... ...
<div class="list-group">
{{#if @root.wap.clientService.new}}
<a class="list clearfix" href="/service/im">
{{else}}
<a class="list clearfix" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=">
{{/if}}
<i class="gm-ico icon"></i>
<div style="border-bottom: solid 1px #e6e6e6;">
<p class="title">在线客服</p>
... ...