[6.6.0]
[项目结构、扫码枪添加手机号]
This commit is contained in:
@@ -5,42 +5,41 @@ project.dependencies {
|
||||
|
||||
} else {
|
||||
|
||||
if (isDriver()) {
|
||||
implementation project.project(':OCH:offline:driver')
|
||||
}else if(isPassenger){
|
||||
implementation project.project(':OCH:offline:passenger')
|
||||
}
|
||||
|
||||
if (isCurrentDriver("C1")) {
|
||||
implementation project.project(':OCH:sweeper:driver')
|
||||
} else if (isCurrentDriver("B1")) {
|
||||
implementation project.project(':OCH:offline:driver')
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
} else if (isCurrentPassenger("B1")) {
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
} else if (isCurrentBaiLing("B1")) {
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
} else if (isCurrentDriver("M1")) {
|
||||
implementation project.project(':OCH:charter:driver')
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
} else if (isCurrentPassenger("M1")) {
|
||||
implementation project.project(':OCH:charter:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
} else if (isCurrentDriver("B2")) {
|
||||
implementation project.project(':OCH:offline:driver')
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
} else if (isCurrentPassenger("B2")) {
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
} else if (isCurrentPassenger("B2")) {
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
} else if (isCurrentDriver("T1T2")) {
|
||||
implementation project.project(':OCH:taxi:driver')
|
||||
implementation project.project(':OCH:taxi:unmanned-driver')
|
||||
@@ -48,6 +47,7 @@ project.dependencies {
|
||||
implementation project.project(':OCH:taxi:unmanned-passenger')
|
||||
implementation project.project(':OCH:taxi:passenger')
|
||||
} else if (isCurrentDriver("ALL")) {
|
||||
implementation project.project(':OCH:offline:driver')
|
||||
implementation project.project(':OCH:taxi:unmanned-driver')
|
||||
implementation project.project(':OCH:taxi:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
@@ -60,7 +60,10 @@ project.dependencies {
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:charter:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
} else {
|
||||
implementation project.project(':OCH:offline:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:charter:driver')
|
||||
@@ -72,6 +75,8 @@ project.dependencies {
|
||||
implementation project.project(':OCH:taxi:passenger')
|
||||
implementation project.project(':OCH:taxi:unmanned-driver')
|
||||
implementation project.project(':OCH:taxi:unmanned-passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger_weaknet')
|
||||
implementation project.project(':OCH:shuttle:driver_weaknet')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.mogo.och.common.module.biz.login.LoginStatusManager
|
||||
import com.mogo.och.common.module.biz.login.LoginStatusEnum
|
||||
import com.mogo.och.common.module.biz.provider.CommonService
|
||||
import com.mogo.och.common.module.manager.logchainanalytic.OchChainLogManager
|
||||
import com.mogo.och.common.module.utils.ProjectUtils
|
||||
import com.mogo.commons.env.ProjectUtils
|
||||
|
||||
/**
|
||||
* 网约车小巴业务实现入口
|
||||
@@ -98,7 +98,11 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
|
||||
if (AppIdentityModeUtils.isBusDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.BUS_DRIVER)
|
||||
} else if (AppIdentityModeUtils.isShuttleDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.SHUTTLE_DRIVER)
|
||||
return if(ProjectUtils.isSaas()){
|
||||
getFragmentByServeName(OchCommonConst.SHUTTLE_DRIVER_WEAKNET)
|
||||
}else{
|
||||
getFragmentByServeName(OchCommonConst.SHUTTLE_DRIVER)
|
||||
}
|
||||
} else if (AppIdentityModeUtils.isCharterDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.CHARTER_DRIVER)
|
||||
} else if (AppIdentityModeUtils.isTaxiDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
@@ -114,7 +118,11 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
|
||||
} else if (AppIdentityModeUtils.isBusPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.BUS_PASSENGER)
|
||||
} else if (AppIdentityModeUtils.isShuttlePassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.SHUTTLE_PASSENGER)
|
||||
return if(ProjectUtils.isSaas()){
|
||||
getFragmentByServeName(OchCommonConst.SHUTTLE_PASSENGER_WEAKNET)
|
||||
}else{
|
||||
getFragmentByServeName(OchCommonConst.SHUTTLE_PASSENGER)
|
||||
}
|
||||
} else if (AppIdentityModeUtils.isCharterPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
return getFragmentByServeName(OchCommonConst.CHARTER_PASSENGER)
|
||||
} else if (AppIdentityModeUtils.isTaxiPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
|
||||
Reference in New Issue
Block a user