We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`public class Account { /** * 用户号码 */ private long phoneNo;
/** * 账户余额 */ private Money remaining; /** * 账户所拥有的套餐 */ @JsonIgnore private List<ChargePlan> chargePlanList = new ArrayList<>();; @Resource private AccountGateway accountGateway;`
这里的@resource方式注入AccountGateway,是如何实现注入的?我看生成Account时候这个属性没有设置,不知道是通过什么机制注入的。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`public class Account {
/**
* 用户号码
*/
private long phoneNo;
这里的@resource方式注入AccountGateway,是如何实现注入的?我看生成Account时候这个属性没有设置,不知道是通过什么机制注入的。
The text was updated successfully, but these errors were encountered: