Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

25 строки
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. }