const express = require('express');
const bookingRuleController = require('../controllers/bookingRuleController');

const router = express.Router();

/**
 * @route   GET /api/v1/booking-rules/:serviceType
 * @desc    根据服务类型获取预约规则（公开接口）
 * @access  Public
 */
router.get('/:serviceType', bookingRuleController.getRuleByServiceType);

module.exports = router;
