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