You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
456 B

  1. package com.simple.config;
  2. import org.springframework.boot.context.properties.ConfigurationProperties;
  3. import org.springframework.stereotype.Component;
  4. /**
  5. * @author Stormeye
  6. */
  7. @Component
  8. @ConfigurationProperties(prefix = "pay")
  9. public class PayProperty {
  10. /**
  11. * 真实支付
  12. */
  13. private boolean real;
  14. public boolean isReal() {
  15. return real;
  16. }
  17. public void setReal(boolean real) {
  18. this.real = real;
  19. }
  20. }