'use strict'; const aideductService = require('../controllers/aideductService'); module.exports = function (app, router) { router.post('/aideduct/getBalance', aideductService.getBalance, { content: '飞尚-查询余额', visible: true }); router.post('/aideduct/getUserInfo', aideductService.getUserInfo, { content: '飞尚-查询用户信息', visible: true }); router.post('/aideduct/preDeduct', aideductService.preDeduct, { content: '飞尚-预扣费', visible: true }); router.post('/aideduct/confirmDeduct', aideductService.confirmDeduct, { content: '飞尚-确认扣费', visible: true }); router.post('/aideduct/rollbackDeduct', aideductService.rollbackDeduct, { content: '飞尚-回退扣费', visible: true }); router.post('/aideduct/rechargeBalance', aideductService.rechargeBalance, { content: '飞尚-余额充值', visible: true }); };