express中session不能共享req.session问题: 实现登录页面和路由: 请求接口: app.post('/login', (req, res) => { const { username, password } = req.body if (username !== 'admin' || password !== 123) { return res.send({ status: 1, msg: '登录失败'