...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
|
|
|
const robotCheckService = require('../models/robot-check-service');
|
|
|
const captchaService = require('../../passport/controllers/captcha');
|
|
|
|
|
|
const logger = global.yoho.logger;
|
|
|
const index = (req, res, next) => {
|
|
|
let channel = req.yoho.channel || 'boys';
|
|
|
|
...
|
...
|
@@ -27,6 +27,7 @@ const isHuman = (req, res) => { |
|
|
remoteIp = arr[0];
|
|
|
}
|
|
|
|
|
|
logger.info('isHuman', remoteIp);
|
|
|
robotCheckService.removeBlack(remoteIp).then(() => {
|
|
|
return res.json({
|
|
|
code: 200
|
...
|
...
|
|