启用/关闭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
Copyright © wueasy.com 2017-2019 all right reserved,powered by Gitbook未经允许,禁止以任何形式传播 修订时间: 2019-10-04

results matching ""

    No results matching ""