add:对接飞书相关的代码

This commit is contained in:
sunzheng
2024-07-24 16:09:18 +08:00
parent 4ac68b3f02
commit d429610225
17 changed files with 1623 additions and 0 deletions
@@ -557,3 +557,44 @@ sys_role:
# 超级管理员
super_admin: superAdmin
# 飞书对接:
feishu:
# 重定向地址
redirect:
# 动态消息:
news_feed: http://localhost:3344/standardRegulationLibrary/DynamicMessageList
# 法规导入流程
regulation_import_process: http://localhost:3344/standardRegulationLibrary/standardMasterPlan
# 市场清单发布流程
market_publishing_process: http://localhost:3344/standardRegulationLibrary/marketRegulationsList/marketReg
# 节点催办
node_urging: http://localhost:3344/workCenter/processCenter/processCenter
# 资料中心
data_center: http://localhost:3344/standardRegulationLibrary/ProfileCenterList
# app的id
app_id : cli_a61204ce741ed00b
# app秘钥
app_secret: lblKYMV4im4nP4YkBdgefKLPEdGBwaXA
# 审批定义的名称:
approvalName: 奇瑞法规智库
# 审批定义的流程管理员的user_id:
managersIds: aacb77d4
# 基础地址:
base_url: https://open.feishu.cn/open-apis
# 获取token的地址
get_token: ${feishu.base_url}/auth/v3/tenant_access_token/internal
# 获取用户id
get_user_id: ${feishu.base_url}/contact/v3/users/batch_get_id
# 创建三方审批定义
create_approval_definition: ${feishu.base_url}/approval/v4/external_approvals
# 查看指定三方审批定义
get_approval_definition: ${feishu.base_url}/approval/v4/external_approvals
# 同步三方审批实例
synchronize_approval_instance: ${feishu.base_url}/approval/v4/external_instances
# 使用Bot发送消息
bot_send_message: ${feishu.base_url}/im/v1/messages
# 飞书根据预登录code获取用户信息
get_userinfo_by_code: ${feishu.base_url}/authen/v1/access_token
# 飞书单点登录地址
sign_login_in: ${feishu.base_url}/authen/v1/index?redirect_uri={REDIRECT_URI}&app_id=${feishu.app_id}&state=feishu