...
|
...
|
@@ -7,9 +7,14 @@ const simpleHeaderModel = require('../../../doraemon/models/simple-header'); |
|
|
const logger = global.yoho.logger;
|
|
|
|
|
|
const index = (req, res) => {
|
|
|
let remoteIp = req.yoho.clientIp || '';
|
|
|
|
|
|
logger.info(`limit remote ip: ${remoteIp}; ua: ${req.header('User-Agent')}; uid: ${req.user.uid}; reqId: ${req.reqID}`); // eslint-disable-line
|
|
|
|
|
|
return res.render('robot-check', {
|
|
|
module: '3party',
|
|
|
page: 'robot-check',
|
|
|
reqId: req.reqID,
|
|
|
simpleHeader: simpleHeaderModel.setSimpleHeaderData()
|
|
|
});
|
|
|
};
|
...
|
...
|
|