启用/关闭Controller
网关默认提供系统通用的Controller
接口,如果在业务中,不想使用某些接口,可以通过此方式禁用接口。
默认所有接口都是开启状态,可以通过以下配置关闭接口访问
wueasy.gateway.controller.download-excel
:通用导出excel文件接口,默认false,false 关闭wueasy.gateway.controller.upload
:通用附件上传接口,默认false,false 关闭wueasy.gateway.controller.frame
:通用thymeleaf模板页面跳转接口,默认false,false 关闭wueasy.gateway.controller.import-excel
:通用导入excel文件内容接口,默认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:
download-excel: true
upload: true
frame: true
import-excel: true
login: true
logout: true
captcha: true
servlet: true