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

 

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

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

相关文章:

  • 2021-05-26
  • 2021-06-13
  • 2022-12-23
  • 2021-04-24
  • 2021-07-03
  • 2021-11-07
  • 2021-09-28
猜你喜欢
  • 2022-01-06
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
相关资源
相似解决方案