labour_service_impl.dart 644 B

12345678910111213141516171819202122232425262728
  1. import 'package:plugin_basic/basic_export.dart';
  2. import 'package:router/componentRouter/labour_service.dart';
  3. import 'package:shared/utils/log_utils.dart';
  4. import '../modules/labour_request_list/labour_request_list_page.dart';
  5. class LabourServiceImpl extends GetxService implements LabourService {
  6. @override
  7. void startLabourRequestPage() {
  8. LabourRequestListPage.startInstance();
  9. }
  10. @override
  11. void onInit() {
  12. super.onInit();
  13. //初始化资源
  14. Log.d("ProfileServiceImpl 初始化资源");
  15. }
  16. @override
  17. void onClose() {
  18. super.onClose();
  19. //销毁资源
  20. Log.d("ProfileServiceImpl 销毁资源");
  21. }
  22. }