[1.0.0]
[m1] [适配+部分页面]
This commit is contained in:
@@ -28,6 +28,7 @@ object AppIdentityModeUtils {
|
||||
|
||||
// 车型
|
||||
private const val M1 = "M1"
|
||||
private const val M2 = "M2"
|
||||
|
||||
|
||||
|
||||
@@ -108,6 +109,14 @@ object AppIdentityModeUtils {
|
||||
}
|
||||
return false
|
||||
}
|
||||
@JvmStatic
|
||||
fun isM2(appIdentityMode: String): Boolean {
|
||||
val (_, _, model) = getInfo(appIdentityMode)
|
||||
if (model.isNotEmpty()) {
|
||||
return model == M2
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否是 清扫车(这里不细分具体是:司机、乘客等类型)
|
||||
|
||||
Reference in New Issue
Block a user