job_sg_service_impl.dart 684 B

12345678910111213141516171819202122232425262728293031
  1. import 'package:cpt_job_sg/modules/revise_list/revise_list_page.dart';
  2. import 'package:plugin_basic/basic_export.dart';
  3. import 'package:router/componentRouter/job_sg_service.dart';
  4. import '../modules/job_applied/job_applied_page.dart';
  5. class JobSGServiceImpl extends GetxService implements JobSGService {
  6. @override
  7. void onInit() {
  8. super.onInit();
  9. //初始化资源
  10. }
  11. @override
  12. void onClose() {
  13. super.onClose();
  14. //销毁资源
  15. }
  16. @override
  17. void startJobAppliedPage(String? jobId,void Function(dynamic value)? cb) {
  18. JobAppliedPage.startInstance(jobId,cb);
  19. }
  20. @override
  21. void startReviseListPage() {
  22. ReviseListPage.startInstance();
  23. }
  24. }