DcucAuthWebConfig.java 609 B

1234567891011121314151617181920212223242526272829
  1. package com.dragoninfo.dcuc.authweb.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * Created by Administrator on 2019/3/13.
  7. */
  8. @ConfigurationProperties(prefix = "dcuc.authweb")
  9. @Data
  10. @Component
  11. public class DcucAuthWebConfig {
  12. /**
  13. * 应用code
  14. */
  15. private String appCode;
  16. /**
  17. * 是否启用auth模块管理本系统菜单权限
  18. */
  19. private boolean authAccess;
  20. /**
  21. * 是否启用接口必传参数检查
  22. */
  23. private boolean enableApiCheck;
  24. }