Authored by shuaiguo

fix(验证码中间件): zk默认开关为关

... ... @@ -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();
}
... ...