nodejs+koa在header里面添加header信息

参考:https://koa.bootcss.com/ css

 

ctx.append('resultCode', '0000');
ctx.append('resultMessage', 'success');app

打印ctx,对象,就看到response中的header已经有值了koa

相关文章
相关标签/搜索