1234567891011121314151617 |
- const express = require('express');
- const router = express.Router();
- router.get('/', (req, res, next) => {
- //更改登录状态
- delete req.session.signinId;
- delete req.session.signinStatus;
- res.status(200).send({
- status: 'successed',
- info: '已登出',
- url: '#/signin'
- });
- });
- module.exports = router;
|