'use strict' const groundDisasterInspection = require('../../controllers/groundDisasterInspection/groundDisasterInspection') module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/card/detail/:card'] = { content: '根据sn号查询相应的点位信息和结构物信息', visible: true } router.get('card/detail/:card', groundDisasterInspection.findDetailBySNCard) }