@ Configuration
Public class BankProperties {
@ Value (" ${pay. Nopassword. MaxAmountPerDeal} ")
Private Double maxAmountPerDeal;
@ Value (" $pay. Nopassword. MaxAmountTotal ")
Private Double maxAmountTotal;
Here in the second @ Value less wrote {}
CodePudding user response:
The ${val} is the said application values in the configuration file