...
|
...
|
@@ -31,7 +31,7 @@ const component = { |
|
|
head_ico: proData && proData.head_ico ? helpers.image(proData.head_ico, 200, 200) : '',
|
|
|
nickname: proData ? proData.nickname : '登录/注册',
|
|
|
userinfourl: proData ? '/home/mydetails' : '',
|
|
|
serviceUrl: 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&'
|
|
|
serviceUrl: '/home/service'
|
|
|
};
|
|
|
|
|
|
res.render('index', _.merge(result, data[1]));
|
...
|
...
|
@@ -81,6 +81,9 @@ const component = { |
|
|
return res.json(data);
|
|
|
}).catch(next);
|
|
|
},
|
|
|
service: (req, res, next) => {
|
|
|
res.redirect('http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409')
|
|
|
},
|
|
|
help: (req, res, next) => {
|
|
|
homeModel.getHelpInfo().then(helpList => {
|
|
|
res.render('help', {
|
...
|
...
|
|