public void Initialize() { wrapper = new LabInterApiWrapper(); wrapper.Initialize(); //注册服务单利 if (InjectService.Get <ILabInterApiService>() == null) { InjectService.RegisterSingleton <ILabInterApiService, LabInterApiService>(this); } }