Open behind2 opened 6 years ago
koa-router writes like above picture
debuginfo
I request via browser I didn't pass 'id' param, but debuginfo indicates "exists: true", In fact, it doesn't exists. So I think optional method doesn't work!?
I find koa-router docs, find this:
so I was confused, please give me some advice? tks
koa-router writes like above picture
debuginfo
I request via browser I didn't pass 'id' param, but debuginfo indicates "exists: true", In fact, it doesn't exists. So I think optional method doesn't work!?
I find koa-router docs, find this:
so I was confused, please give me some advice? tks