摘要: String(req.headers.authorization || '').split(' ').pop() 阅读全文
posted @ 2019-10-06 21:56 武卡卡 阅读(707) 评论(0) 推荐(1) 编辑
摘要: 1,定义全局变量 app.set('name','八戒') 2,获取全局变量 app.get('name') 阅读全文
posted @ 2019-10-06 20:54 武卡卡 阅读(2033) 评论(0) 推荐(0) 编辑