From e3df4132cb458d1d5f372996ae9424c83c653662 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 17 Jun 2026 15:22:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85enabled=5Fflg?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E5=AD=97=E5=85=B8=E5=88=B0init/data.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/data.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/init/data.json b/init/data.json index 6a4839a..b8e8532 100644 --- a/init/data.json +++ b/init/data.json @@ -24,6 +24,11 @@ "id": "product_type", "name": "产品类型标识", "hierarchy_flg": "0" + }, + { + "id": "enabled_flg", + "name": "是否启用", + "hierarchy_flg": "0" } ], "appcodes_kv": [ @@ -44,7 +49,10 @@ {"id": "product_type", "parentid": "", "k": "cloud", "v": "云服务"}, {"id": "product_type", "parentid": "", "k": "data", "v": "数据服务"}, {"id": "product_type", "parentid": "", "k": "api", "v": "API服务"}, - {"id": "product_type", "parentid": "", "k": "custom", "v": "自定义"} + {"id": "product_type", "parentid": "", "k": "custom", "v": "自定义"}, + + {"id": "enabled_flg", "parentid": "", "k": "1", "v": "启用"}, + {"id": "enabled_flg", "parentid": "", "k": "0", "v": "禁用"} ], "_note_product_category": "产品类别树由每个 reseller (org_id) 自行管理,不在 init/data.json 中预设全局数据。新机构注册时自动创建根类别。" }