const express = require('express');
const router = express.Router();
const governmentController = require('../controllers/governmentController');

// 人员列表
router.get('/', governmentController.getAdminStaff);

// 新增行政人员
router.post('/', governmentController.createAdminStaff);

// 编辑行政人员
router.put('/:id', governmentController.updateAdminStaff);

// 删除行政人员
router.delete('/:id', governmentController.deleteAdminStaff);

// 重置行政人员密码
router.post('/:id/reset-password', governmentController.resetAdminStaffPassword);

module.exports = router;