登录:测试用:直接获得验证码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user