refactor: update GetCustomerSourceTypeLabel to use ExternalSource and remove CustomerSourceType alias

This commit is contained in:
mlogclub
2026-04-14 12:14:13 +08:00
parent fcb2e11998
commit eef67a436e
+1 -4
View File
@@ -1,11 +1,8 @@
package enums
// CustomerSourceType 已合并为 ExternalIdentitySource,保留类型别名以兼容旧代码。
type CustomerSourceType = ExternalSource
const CustomerSourceTypeWebChat = ExternalSourceWebChat
func GetCustomerSourceTypeLabel(sourceType CustomerSourceType) string {
func GetCustomerSourceTypeLabel(sourceType ExternalSource) string {
return GetExternalSourceLabel(ExternalSource(sourceType))
}