[m1]
[1.1.2] [添加车型 金旅 判断]
This commit is contained in:
@@ -29,6 +29,7 @@ object AppIdentityModeUtils {
|
||||
// 车型
|
||||
private const val M1 = "M1"
|
||||
private const val M2 = "M2"
|
||||
private const val JL = "JL"
|
||||
|
||||
|
||||
|
||||
@@ -116,6 +117,16 @@ object AppIdentityModeUtils {
|
||||
return false
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun isJL(appIdentityMode: String): Boolean {
|
||||
val (_, _, model) = getInfo(appIdentityMode)
|
||||
if (model.isNotEmpty()) {
|
||||
return model == JL
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 是否是 清扫车(这里不细分具体是:司机、乘客等类型)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user