...
|
...
|
@@ -30,7 +30,7 @@ exports.get = (req, res, next) => { |
|
|
|
|
|
exports.imgCheck = (req, res, next) => {
|
|
|
if (req.session.captchaSrc) {
|
|
|
return request(`${req.session.captchaSrc}?watermark/2/text/${uuid.v4()}/fontsize/120/dissolve/10/format/jpg`)
|
|
|
return request(`${req.session.captchaSrc}?imageView2/0/format/jpg/q/70|watermark/2/text/${uuid.v4()}/fontsize/120/dissolve/10`)
|
|
|
.pipe(res);
|
|
|
}
|
|
|
return next();
|
...
|
...
|
|