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.
 
 
 

10 lines
627 B

'use strict';
const cnipaAuth = require('../controllers/cnipaAuth');
module.exports = function (app, router, opts) {
router.post('/cnipa-auth/browser/prepare', cnipaAuth.prepareBrowser, { content: '打开 CNIPA 查询浏览器', visible: true });
router.post('/cnipa-auth/captcha/get', cnipaAuth.getCaptcha, { content: '获取 CNIPA 滑块验证码', visible: true });
router.post('/cnipa-auth/captcha/check', cnipaAuth.checkCaptcha, { content: '校验 CNIPA 滑块验证码', visible: true });
router.post('/cnipa-auth/login/submit', cnipaAuth.submitLogin, { content: '提交 CNIPA 登录', visible: true });
};