Showing
3 changed files
with
3 additions
and
5 deletions
| @@ -79,8 +79,7 @@ class AbstractAction extends Controller_Abstract | @@ -79,8 +79,7 @@ class AbstractAction extends Controller_Abstract | ||
| 79 | 79 | ||
| 80 | //客服配置 | 80 | //客服配置 |
| 81 | protected function getCustomerServiceSwitch() { | 81 | protected function getCustomerServiceSwitch() { |
| 82 | - return $this->_useSession && $this->getCacheBy('zookeeper:/pc/clientService/new') === 'true' ? '/service/client' : | ||
| 83 | - 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409'; | 82 | + return $this->_useSession && $this->getCacheBy('zookeeper:/pc/clientService/new') === 'true' ? 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409' : '/service/client'; |
| 84 | } | 83 | } |
| 85 | /** | 84 | /** |
| 86 | * 封装一下获取get参数 | 85 | * 封装一下获取get参数 |
| @@ -95,8 +95,7 @@ class WebAction extends Controller_Abstract | @@ -95,8 +95,7 @@ class WebAction extends Controller_Abstract | ||
| 95 | 95 | ||
| 96 | //客服配置 | 96 | //客服配置 |
| 97 | protected function getCustomerServiceSwitch() { | 97 | protected function getCustomerServiceSwitch() { |
| 98 | - return $this->_useSession && $this->getCacheBy('zookeeper:/pc/clientService/new') === 'true' ? '/service/client' : | ||
| 99 | - 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409'; | 98 | + return $this->_useSession && $this->getCacheBy('zookeeper:/pc/clientService/new') === 'true' ? 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409' : '/service/client'; |
| 100 | } | 99 | } |
| 101 | 100 | ||
| 102 | /** | 101 | /** |
| @@ -45,7 +45,7 @@ class UserModel | @@ -45,7 +45,7 @@ class UserModel | ||
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public static function getCustomerServiceSwitch() { | 47 | public static function getCustomerServiceSwitch() { |
| 48 | - return USE_CACHE && Cache::getBy('zookeeper:/pc/clientService/new') === 'true' ? '/service/client' : 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409'; | 48 | + return USE_CACHE && Cache::getBy('zookeeper:/pc/clientService/new') === 'true' ? 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409' : '/service/client'; |
| 49 | } | 49 | } |
| 50 | /** | 50 | /** |
| 51 | * 个人中心-左侧导航 | 51 | * 个人中心-左侧导航 |
-
Please register or login to post a comment