diff --git a/README.md b/README.md index 1ac4545..a7b0052 100644 --- a/README.md +++ b/README.md @@ -2,29 +2,65 @@ ## 简介 -用于通过企业微信的 corpid 和 corpsecret 自动获取access_token以调试接口。 +企业微信、企业飞书接口调用工具。 **仅用于开发人员用作接口调试,请勿用作其他非法用途。** +## 更新内容 + +**2023.07.07 v1.0.2** + +1. 添加了企业飞书接口调用; + +**2023.06.09 v1.0.1** + +1. 取消了access_token权限查询功能,权限查询接口现在需要登陆且只能查询登录企业的access_token。 + +**2023.06.07 v1.0.0** + +1. 支持企业微信接口调用。 + ## 使用方法 -目前仅支持查询功能,暂不支持添加数据。从2022年下半年开始,企业微信对`access_token`的数据访问权限限制的比较严格。 +![image-20230703195617012](images/image-20230703195617012.png) + +**`wechat`模块** -所有命令 +使用`use wechat ` 选择模块。 -![image-20230606231323064](./images/image-20230606231323064.png) +![image-20230703201309520](images/image-20230703201309520.png) 首先设置`corpid`和`corpsecret`,如有需要可以设置代理,之后再执行`run`命令。 -![image-20230606231931180](./images/image-20230606231931180.png) +![image-20230703203510367](images/image-20230703203510367.png) + +导出通信录,不提供部门id的话则会获取全量信息。 + +![image-20230703200942820](images/image-20230703200942820.png) + +![image-20230703202445343](images/image-20230703202445343.png) + +![image-20230703201829181](images/image-20230703201829181.png) + +其他命令请自行查看使用方法。测试用到的`key`比较少,可能存在未知问题。 + +**`feishu`模块** + +使用`use feishu ` 选择模块,注意红色方框里的说明。 + +![image-20230703203220263](images/image-20230703203220263.png) + +设置认证信息后执行。 + +![image-20230703203920645](images/image-20230703203920645.png) -如果只需要获取用户数据直接执行`user --dump`即可,文件会自动保存为excel和对应的部门树html文件。 +导出通信录,不提供部门id的话会获取所有的授权访问部门信息,如果能确定部门权限为全部门,请手动赋值部门id为0,不然获取到的用户信息可能不全。 -![image-20230606232126727](./images/image-20230606232126727.png) +![image-20230703204335041](images/image-20230703204335041.png) -![image-20230606232756363](./images/image-20230606232756363.png) +![image-20230703204805043](images/image-20230703204805043.png) -![image-20230606232943841](./images/image-20230606232943841.png) +![image-20230703204920340](images/image-20230703204920340.png) 其他命令请自行查看使用方法。测试用到的`key`比较少,可能存在未知问题。 diff --git a/images/image-20230606231323064.png b/images/image-20230606231323064.png deleted file mode 100644 index 97218c6..0000000 Binary files a/images/image-20230606231323064.png and /dev/null differ diff --git a/images/image-20230606231931180.png b/images/image-20230606231931180.png deleted file mode 100644 index 0c39683..0000000 Binary files a/images/image-20230606231931180.png and /dev/null differ diff --git a/images/image-20230606232126727.png b/images/image-20230606232126727.png deleted file mode 100644 index dcd33e4..0000000 Binary files a/images/image-20230606232126727.png and /dev/null differ diff --git a/images/image-20230606232756363.png b/images/image-20230606232756363.png deleted file mode 100644 index fa22af2..0000000 Binary files a/images/image-20230606232756363.png and /dev/null differ diff --git a/images/image-20230606232943841.png b/images/image-20230606232943841.png deleted file mode 100644 index a26226b..0000000 Binary files a/images/image-20230606232943841.png and /dev/null differ diff --git a/images/image-20230703194839806.png b/images/image-20230703194839806.png new file mode 100644 index 0000000..166b2b0 Binary files /dev/null and b/images/image-20230703194839806.png differ diff --git a/images/image-20230703195617012.png b/images/image-20230703195617012.png new file mode 100644 index 0000000..ae16ca2 Binary files /dev/null and b/images/image-20230703195617012.png differ diff --git a/images/image-20230703195731269.png b/images/image-20230703195731269.png new file mode 100644 index 0000000..175fdab Binary files /dev/null and b/images/image-20230703195731269.png differ diff --git a/images/image-20230703195906143.png b/images/image-20230703195906143.png new file mode 100644 index 0000000..349b020 Binary files /dev/null and b/images/image-20230703195906143.png differ diff --git a/images/image-20230703200926116.png b/images/image-20230703200926116.png new file mode 100644 index 0000000..450f2f4 Binary files /dev/null and b/images/image-20230703200926116.png differ diff --git a/images/image-20230703200942820.png b/images/image-20230703200942820.png new file mode 100644 index 0000000..450f2f4 Binary files /dev/null and b/images/image-20230703200942820.png differ diff --git a/images/image-20230703201309520.png b/images/image-20230703201309520.png new file mode 100644 index 0000000..28c49eb Binary files /dev/null and b/images/image-20230703201309520.png differ diff --git a/images/image-20230703201556159.png b/images/image-20230703201556159.png new file mode 100644 index 0000000..25fba33 Binary files /dev/null and b/images/image-20230703201556159.png differ diff --git a/images/image-20230703201829181.png b/images/image-20230703201829181.png new file mode 100644 index 0000000..c2b91ff Binary files /dev/null and b/images/image-20230703201829181.png differ diff --git a/images/image-20230703202445343.png b/images/image-20230703202445343.png new file mode 100644 index 0000000..fb53aad Binary files /dev/null and b/images/image-20230703202445343.png differ diff --git a/images/image-20230703202646815.png b/images/image-20230703202646815.png new file mode 100644 index 0000000..c7f4342 Binary files /dev/null and b/images/image-20230703202646815.png differ diff --git a/images/image-20230703202929014.png b/images/image-20230703202929014.png new file mode 100644 index 0000000..2579c3f Binary files /dev/null and b/images/image-20230703202929014.png differ diff --git a/images/image-20230703203220263.png b/images/image-20230703203220263.png new file mode 100644 index 0000000..58075f7 Binary files /dev/null and b/images/image-20230703203220263.png differ diff --git a/images/image-20230703203510367.png b/images/image-20230703203510367.png new file mode 100644 index 0000000..7e1bc7a Binary files /dev/null and b/images/image-20230703203510367.png differ diff --git a/images/image-20230703203920645.png b/images/image-20230703203920645.png new file mode 100644 index 0000000..ce45765 Binary files /dev/null and b/images/image-20230703203920645.png differ diff --git a/images/image-20230703204335041.png b/images/image-20230703204335041.png new file mode 100644 index 0000000..53d88c2 Binary files /dev/null and b/images/image-20230703204335041.png differ diff --git a/images/image-20230703204805043.png b/images/image-20230703204805043.png new file mode 100644 index 0000000..ea9e407 Binary files /dev/null and b/images/image-20230703204805043.png differ diff --git a/images/image-20230703204920340.png b/images/image-20230703204920340.png new file mode 100644 index 0000000..1fbe646 Binary files /dev/null and b/images/image-20230703204920340.png differ