[fea]
[删除 mogo taxi]
This commit is contained in:
yangyakun
2024-11-22 14:55:32 +08:00
parent b53d4d2df3
commit 989d8e515d
3 changed files with 22 additions and 22 deletions

View File

@@ -122,13 +122,13 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
} else if (AppIdentityModeUtils.isCharterDriver(FunctionBuildConfig.appIdentityMode)) {
return getFragmentByServeName(OchCommonConst.CHARTER_DRIVER)
} else if (AppIdentityModeUtils.isTaxiDriver(FunctionBuildConfig.appIdentityMode)) {
return if (ProjectUtils.isMogo()) {
getFragmentByServeName(OchCommonConst.TAXI_DRIVER)
} else if (ProjectUtils.isSaas()) {
getFragmentByServeName(OchCommonConst.TAXI_UNMANNED_DRIVER)
} else {
getFragmentByServeName(OchCommonConst.TAXI_DRIVER)
}
// return if (ProjectUtils.isMogo()) {
// getFragmentByServeName(OchCommonConst.TAXI_DRIVER)
// } else if (ProjectUtils.isSaas()) {
return getFragmentByServeName(OchCommonConst.TAXI_UNMANNED_DRIVER)
// } else {
// getFragmentByServeName(OchCommonConst.TAXI_DRIVER)
// }
} else if (AppIdentityModeUtils.isSweeper(FunctionBuildConfig.appIdentityMode)) {
return getFragmentByServeName(OchCommonConst.SWEEPER_DRIVER)
} else if (AppIdentityModeUtils.isBusPassenger(FunctionBuildConfig.appIdentityMode)) {
@@ -138,13 +138,13 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
} else if (AppIdentityModeUtils.isCharterPassenger(FunctionBuildConfig.appIdentityMode)) {
return getFragmentByServeName(OchCommonConst.CHARTER_PASSENGER)
} else if (AppIdentityModeUtils.isTaxiPassenger(FunctionBuildConfig.appIdentityMode)) {
return if (ProjectUtils.isMogo()) {
getFragmentByServeName(OchCommonConst.TAXI_PASSENGER)
} else if (ProjectUtils.isSaas()) {
getFragmentByServeName(OchCommonConst.TAXI_UNMANNED_PASSENGER)
} else {
getFragmentByServeName(OchCommonConst.TAXI_PASSENGER)
}
// return if (ProjectUtils.isMogo()) {
// getFragmentByServeName(OchCommonConst.TAXI_PASSENGER)
// } else if (ProjectUtils.isSaas()) {
return getFragmentByServeName(OchCommonConst.TAXI_UNMANNED_PASSENGER)
// } else {
// getFragmentByServeName(OchCommonConst.TAXI_PASSENGER)
// }
}
return LoginStatusManager.getFragment()
}