Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- package com.simple.config;
-
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.stereotype.Component;
-
- /**
- * @author Stormeye
- */
- @Component
- @ConfigurationProperties(prefix = "pay")
- public class PayProperty {
- /**
- * 真实支付
- */
- private boolean real;
-
- public boolean isReal() {
- return real;
- }
-
- public void setReal(boolean real) {
- this.real = real;
- }
- }
|