const act915Data = require('./act915.json')

module.exports = {
  // 处理 act915 接口请求
  handleAct915Request: (req, res) => {
    const { type } = req.query
    
    if (type === 'act915') {
      res.json({
        code: 200,
        message: 'success',
        data: act915Data
      })
    } else {
      res.json({
        code: 400,
        message: 'Invalid type parameter',
        data: null
      })
    }
  }
}
