修改保险后端代码,政府前端代码
This commit is contained in:
10
bank-backend/test-controller.js
Normal file
10
bank-backend/test-controller.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const authController = require('./controllers/authController');
|
||||
const authMiddleware = require('./middleware/auth');
|
||||
|
||||
console.log('authController type:', typeof authController);
|
||||
console.log('authController.logout type:', typeof authController.logout);
|
||||
console.log('authMiddleware type:', typeof authMiddleware);
|
||||
console.log('authMiddleware.authMiddleware type:', typeof authMiddleware.authMiddleware);
|
||||
|
||||
console.log('authController keys:', Object.keys(authController));
|
||||
console.log('authMiddleware keys:', Object.keys(authMiddleware));
|
||||
Reference in New Issue
Block a user