feat: update ExternalSource enum and labels to include User and adjust related mappings

This commit is contained in:
mlogclub
2026-04-27 18:46:24 +08:00
parent 9d2abcd702
commit c14ade27e4
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -72,14 +72,14 @@ export const ContactTypeLabels: Record<ContactType, string> = {
}
export enum ExternalSource {
WebChat = "web_chat",
WechatMP = "wechat_mp",
Guest = "guest",
WxWorkKF = "wxwork_kf",
User = "user",
}
export const ExternalSourceLabels: Record<ExternalSource, string> = {
[ExternalSource.WebChat]: "网页客服",
[ExternalSource.WechatMP]: "微信公众号",
[ExternalSource.Guest]: "访客",
[ExternalSource.WxWorkKF]: "企业微信客服",
[ExternalSource.User]: "用户",
}
export enum Gender {