This commit is contained in:
gr
2026-08-28 14:06:56 +08:00
parent b5b14516a1
commit 7f1ed49cc8
2 changed files with 7 additions and 4 deletions
@@ -28,6 +28,7 @@ class UserTerminalEnum
const PC = 4;//电脑PC
const IOS = 5;//苹果app
const ANDROID = 6;//安卓app
const WECOM_RPA = 7;//企业微信客服桌面端
const ALL_TERMINAL = [
@@ -37,6 +38,7 @@ class UserTerminalEnum
self::PC,
self::IOS,
self::ANDROID,
self::WECOM_RPA,
];
/**
@@ -55,10 +57,11 @@ class UserTerminalEnum
self::PC => '电脑PC',
self::IOS => '苹果APP',
self::ANDROID => '安卓APP',
self::WECOM_RPA => '企业微信客服桌面端',
];
if(true === $from){
return $desc;
}
return $desc[$from] ?? '';
}
}
}