ai-query对接新版freesun-agent接口的分支
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
869 B

'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 });
};