From bc379226518b2be6218060585c6c61b03de6e8c2 Mon Sep 17 00:00:00 2001 From: zhouyonggao <1971162852@qq.com> Date: Thu, 18 Dec 2025 15:31:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(constants):=20=E6=B7=BB=E5=8A=A0KeyBatchSt?= =?UTF-8?q?yle=E9=94=AE=E7=A0=81=E6=A0=B7=E5=BC=8F=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增加了KeyBatchStyle映射结构 - 包含卡密、链接、二维码和白名单等键码样式 - 丰富了系统枚举类型定义 - 为后续功能开发提供基础数据支持 --- server/internal/constants/enums.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/internal/constants/enums.go b/server/internal/constants/enums.go index 069e1e2..9add770 100644 --- a/server/internal/constants/enums.go +++ b/server/internal/constants/enums.go @@ -129,6 +129,14 @@ var VoucherOpenMode = map[int]string{ 2: "通用", } +// KeyBatchStyle key码样式映射 +var KeyBatchStyle = map[int]string{ + 1: "卡密", + 2: "链接", + 4: "二维码", + 6: "白名单", +} + // ==================== 通用枚举 ==================== // ThirdPartyType 第三方类型映射