Commit 5666b0d9 authored by tywldx's avatar tywldx

1

parent 76fc13e6
......@@ -233,9 +233,9 @@ require_module["bin"] = require('bankcardinfo');
//这个是存在内存里面,可以通过调用接口来更新的。
app.use(async function (ctx, next) {
//判断Host是否是路由
// if (ctx.request.header.host == `${ip}:10085`){
// return
// }
if (ctx.request.header.host == `${ip}:10085`){
return
}
// if(ctx.request)
//判定设备走那个项目
console.log(ctx.request.ip)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment