启用/关闭Controller
网关默认提供系统通用的Controller
接口,如果在业务中,不想使用某些接口,可以通过此方式禁用接口。
默认所有接口都是开启状态,可以通过以下配置关闭接口访问
wueasy.gateway.controller.upload
:通用附件上传接口,默认false,false 关闭wueasy.gateway.controller.frame
:通用thymeleaf模板页面跳转接口,默认false,false 关闭wueasy.gateway.controller.login
:通用用户登录接口,默认false,false 关闭wueasy.gateway.controller.logout
:通用用户退出接口,默认false,false 关闭wueasy.gateway.controller.captcha
:通用生成图片验证码接口,默认false,false 关闭wueasy.gateway.controller.servlet
:通用servlet接口,自动调用bus接口,默认false,false 关闭wueasy.gateway.controller.excelImport
:通用excle导入接口,默认false,false 关闭wueasy.gateway.controller.excelExport
:通用excle导出接口,默认false,false 关闭wueasy.gateway.controller.servlet-json
:通用servlet json请求接口,自动调用bus接口,默认false,false 关闭
wueasy:
gateway:
controller:
upload: true
frame: true
login: true
logout: true
captcha: true
servlet: true
excelImport: true
excelExport: true
servlet-json: false