...
|
...
|
@@ -30,9 +30,9 @@ let captchaReq = new models.DescribeCaptchaResultRequest(); |
|
|
*/
|
|
|
module.exports = function(req, res, next) {
|
|
|
|
|
|
const isClosedCaptcha = _.get(req.app.locals.wap, 'ufo.coupon', false);
|
|
|
const isOpenCaptcha = _.get(req.app.locals.wap, 'ufo.coupon', false);
|
|
|
|
|
|
if (isClosedCaptcha) {
|
|
|
if (!isOpenCaptcha) {
|
|
|
return next();
|
|
|
}
|
|
|
|
...
|
...
|
|