登录:测试用:直接获得验证码

This commit is contained in:
luying
2021-03-08 12:24:25 +08:00
parent f34a97c680
commit d676b6251d
4 changed files with 25 additions and 1 deletions

View File

@@ -19,7 +19,8 @@ function aesDecrypt(data, key, iv) {
module.exports = options => {
return async function parmsDecode(ctx: Context, next) {
if(ctx.request.url == '/dev') {
console.log(ctx.request.url.match(/\/dev/))
if(ctx.request.url.match(/\/dev/)) {
await next();
return;
}