From 62afd6906ed5ff38f6c0584c32dd2f34ce91d6b0 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Fri, 17 Jul 2026 17:20:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=87=AD=E8=AF=81=E5=B9=B6=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=20enterprises/*.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 enterprises/test.json(真实凭证仍保留在 git 历史中,后续需 filter-repo 彻底清理) - 新增 enterprises/example.json 配置模板 - .gitignore 忽略 enterprises/*.json,仅保留 example.json --- .gitignore | 4 ++++ enterprises/example.json | 12 ++++++++++++ enterprises/test.json | 12 ------------ 3 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 enterprises/example.json delete mode 100644 enterprises/test.json diff --git a/.gitignore b/.gitignore index 28941f4..c61d6c1 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,10 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json *.tsbuildinfo .zcode/ +# enterprise credentials +enterprises/*.json +!enterprises/example.json + # IntelliJ based IDEs .idea diff --git a/enterprises/example.json b/enterprises/example.json new file mode 100644 index 0000000..af8cb8a --- /dev/null +++ b/enterprises/example.json @@ -0,0 +1,12 @@ +{ + "id": "corp-id", + "name": "企业名称", + "credentials": { + "accessToken": "your-access-token", + "corpId": "your-corp-id", + "staffId": "your-staff-id" + }, + "auth": { + "refreshTtl": 300 + } +} diff --git a/enterprises/test.json b/enterprises/test.json deleted file mode 100644 index 4a9e1f0..0000000 --- a/enterprises/test.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": "ID01Jdq2yIDnMr", - "name": "测试企业", - "credentials": { - "accessToken": "yMRMo7AIkQpMm6Z0TtehS0", - "corpId": "ID01Jdq2yIDnMr", - "staffId": "ID01Jdq2yIDnMr:ID01KsDgHaH5nN" - }, - "auth": { - "refreshTtl": 300 - } -}