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 - } -}