登录:fix

This commit is contained in:
luying
2021-03-08 13:54:49 +08:00
parent fda991c782
commit a846258a6a

View File

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