EOS Low-Code Platform 8 EOS Low-Code Platform 8
  • 8.3.2 (opens new window)
  • 8.3.1 (opens new window)
  • 8.3LA1 (opens new window)
  • 8.2GA (opens new window)
产品简介
学习指南
更新说明
安装与集成
初见EOS
低代码开发手册
专业代码开发手册
专题场景实战
公共服务框架
应用运行治理
升级手册
常见问题
  • 低开应用集成飞书
  • 1. 集成飞书登录
  • 1.1 飞书端
  • 1.2 低开应用端
  • 1.3 效果
  • 2. 集成飞书发送消息
  • 2.1 飞书端
  • 2.2 低开应用端
  • 2.3 效果
  • 3. 集成低开移动端到飞书
  • 3.1 飞书端
  • 3.2 低开应用端
  • 3.3 效果

# 低开应用集成飞书

# 1. 集成飞书登录

参考文档:http://help.primeton.com/eos/8.3.3/afcenter_reference/deploy_ref/ding.html#%E9%A3%9E%E4%B9%A6%E9%9B%86%E6%88%90

# 1.1 飞书端

  1. 登录飞书开放平台:https://open.feishu.cn/
  2. 创建企业自建应用:输入应用名称、应用描述、上传应用图标; img-integrate_feishu-01.png
  3. 获取应用的AppID、AppSecret; img-integrate_feishu-02.png
  4. 权限管理:参考文档 (opens new window) afc.third-party.feishu.scope的值,在飞书权限管理中添加对应权限; img-integrate_feishu-03.png
  5. 配置重定向URL及IP白名单; img-integrate_feishu-04.png
  6. 版本管理与发布:发布上线应用。 img-integrate_feishu-05.png

# 1.2 低开应用端

  1. 在AFCenter-应用中心-通用管理-连接器添加飞书登录配置 img-integrate_feishu-17.png

  2. 同步员工账号信息,飞书和低开应用中的手机号必须一致。 img-integrate_feishu-06.png

# 1.3 效果

img-integrate_feishu-07.gif

# 2. 集成飞书发送消息

参考文档:http://help.primeton.com/eos/8.3.3/bfp_reference/BFP_message.html#%E9%A3%9E%E4%B9%A6

# 2.1 飞书端

  1. 应用能力:添加机器人; img-integrate_feishu-08.png
  2. 版本管理与发布:发布上线应用。

# 2.2 低开应用端

  1. 在AFCenter-应用中心-通用管理-连接器添加飞书消息配置; img-integrate_feishu-18.png

  2. 流程中心—业务配置—消息配置—模板配置: img-integrate_feishu-09.png img-integrate_feishu-10.png 从V8.3.2起,必须发送富文本消息,模版格式如下: 只需要修改content里面的内容,消息的tag参考飞书文档 (opens new window)

    {
    	"post": {
    		"zh_cn": {
    			"title": "我是一个标题",
    			"content": [
    				[{
    					"tag": "text",
    					"text": "第一行"
    				}, {
    					"tag": "a",
    					"href": "http://www.feishu.cn",
    					"text": "飞书"
    				}]
    			]
    		}
    	}
    }
    
  3. 流程中心—业务配置—消息配置-默认配置里选择上一步配置的飞书模板。 img-integrate_feishu-11.png

  4. 在流程的人工活动上配置消息通知。 img-integrate_feishu-12.png

# 2.3 效果

img-integrate_feishu-13.gif

# 3. 集成低开移动端到飞书

# 3.1 飞书端

  1. 应用能力:添加网页应用并配置移动端首页; img-integrate_feishu-14.png
  2. 配置重定向URL及IP白名单; img-integrate_feishu-15.png
  3. 版本管理与发布:发布上线应用。

# 3.2 低开应用端

在AFCenter-应用中心-通用管理-连接器飞书登录配置里填写"移动端重定向URI" img-integrate_feishu-19.png

# 3.3 效果

img-integrate_feishu-16.gif

← 低开应用集成钉钉 低开应用集成企业微信 →