egg中获取cookies的操作为
this.ctx.cookies.get('xxx'); //但是客户端设置的cookie在这里取到的值为undefind
egg文档 https://eggjs.org/zh-cn/core/cookie-and-session.html
所以egg要获取客户端设置的cookie需要这么操作
this.ctx.cookies.get('xxx', { signed: false, });