@Service
public class AaaService implements IChangePassword {

@Override
public void changePassword(String username, String password) {
}

}

@Service
public class BbbService implements IChangePassword {

@Override
public void changePassword(String username, String password) {
}

}

public class AccountController extends BaseController {
@Autowired
@Qualifier("aaaService")
private IChangePassword aaaService;

@Autowired
@Qualifier("bbbService")
private IChangePassword bbbService;
}

相关文章:

  • 2022-12-23
  • 2021-07-12
  • 2021-09-24
  • 2021-06-16
  • 2021-10-21
  • 2022-12-23
  • 2021-12-07
猜你喜欢
  • 2021-09-06
  • 2022-12-23
  • 2021-07-04
  • 2022-01-16
  • 2021-09-03
  • 2022-12-23
相关资源
相似解决方案