chore: 移除测试企业凭证并忽略 enterprises/*.json
- 删除 enterprises/test.json(真实凭证仍保留在 git 历史中,后续需 filter-repo 彻底清理) - 新增 enterprises/example.json 配置模板 - .gitignore 忽略 enterprises/*.json,仅保留 example.json
This commit is contained in:
1 parent
629ec90334
commit
62afd6906e
3 files changed
+16
-12
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "corp-id",
|
||||
"name": "企业名称",
|
||||
"credentials": {
|
||||
"accessToken": "your-access-token",
|
||||
"corpId": "your-corp-id",
|
||||
"staffId": "your-staff-id"
|
||||
},
|
||||
"auth": {
|
||||
"refreshTtl": 300
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"id": "ID01Jdq2yIDnMr",
|
||||
"name": "测试企业",
|
||||
"credentials": {
|
||||
"accessToken": "yMRMo7AIkQpMm6Z0TtehS0",
|
||||
"corpId": "ID01Jdq2yIDnMr",
|
||||
"staffId": "ID01Jdq2yIDnMr:ID01KsDgHaH5nN"
|
||||
},
|
||||
"auth": {
|
||||
"refreshTtl": 300
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user