feat: integrate GService into various root logic classes and log user roles during initialization
This commit is contained in:
@@ -12,6 +12,7 @@ class KillHouseRootLogic extends GetxController {
|
||||
RxInt currentPage = 1.obs;
|
||||
|
||||
var tokenService = Get.find<TokenStorageService>();
|
||||
var gService = Get.find<GService>();
|
||||
|
||||
late KillHouseRepository killHouseRepository;
|
||||
|
||||
@@ -19,6 +20,7 @@ class KillHouseRootLogic extends GetxController {
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
killHouseRepository = diChicken.get<KillHouseRepository>();
|
||||
fLog('gService: ${gService.getRole(Module.chicken)}');
|
||||
}
|
||||
|
||||
final pages = [
|
||||
|
||||
Reference in New Issue
Block a user