Authored by hf

code review by fei.hong: do modify live800 use old link to publish default no use yoho coin feature

... ... @@ -456,15 +456,16 @@ class HomeController extends AbstractAction
$this->setTitle('在线客服');
$this->setNavHeader('在线客服', Helpers::url('/home'), SITE_MAIN);
$uid = $this->getUid(false);
//$uid = $this->getUid(false);
$service = Home\OnlineModel::getOnlineServiceInfo();
// 在线客服
$serviceUrl = 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
if ($uid) {
$time = time() . '000';
$info = 'userId=' . $uid . '&name=' . $this->_uname . '&memo=&hashCode=' . md5(rawurlencode($uid . $this->_uname . $time . '1231')) . '&timestamp=' . $time;
$serviceUrl .= rawurlencode($info);
}
$serviceUrl = 'http://chat80.live800.com/live800/chatClient/chatbox.jsp?companyID=493979&configID=123576&jid=9277320930';
// // 在线客服
// $serviceUrl = 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&info=';
// if ($uid) {
// $time = time() . '000';
// $info = 'userId=' . $uid . '&name=' . $this->_uname . '&memo=&hashCode=' . md5(rawurlencode($uid . $this->_uname . $time . '1231')) . '&timestamp=' . $time;
// $serviceUrl .= rawurlencode($info);
// }
$this->_view->display('online-service', array(
'onlineServicePage' => true,
... ...