-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 更新飞书 Interactive 卡片格式 (不再支持外链图片)
- Loading branch information
Showing
8 changed files
with
242 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ The following variables are all provided. | |
```ruby | ||
{ | ||
event: @event, | ||
username: @username, | ||
email: @email, | ||
title: @title, | ||
app_name: @name, | ||
device_type: @device_type, | ||
|
@@ -31,6 +33,8 @@ Output: | |
```json | ||
{ | ||
"event": "upload_events", | ||
"username": "foobar", | ||
"email": "[email protected]", | ||
"title": "Zealot upload 1.0.0 version", | ||
"app_name": "Zealot", | ||
"device_type": "iOS", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,17 @@ Zealot 为每个应用渠道都提供一个消息通知的网络钩子,网络 | |
```ruby | ||
{ | ||
event: @event, | ||
username: @username, | ||
email: @email, | ||
title: @title, | ||
app_name: @name, | ||
name: @app_name, | ||
app_name: @app_name, | ||
device_type: @device_type, | ||
release_version: @release_version, | ||
build_version: @build_version, | ||
size: @file_size, | ||
changelog: @changelog, | ||
release_url: @release_url, | ||
install_url: @install_url, | ||
icon_url: @icon_url, | ||
qrcode_url: @qrcode_url, | ||
|
@@ -34,16 +38,19 @@ Zealot 为每个应用渠道都提供一个消息通知的网络钩子,网络 | |
```json | ||
{ | ||
"event": "upload_events", | ||
"username": "foobar", | ||
"email": "[email protected]", | ||
"title": "Zealot 样例 iOS 内测版上传了 1.0.0 版本", | ||
"app_name": "Zealot 样例 iOS 内测版", | ||
"device_type": "iOS", | ||
"release_version": "1.0.0", | ||
"build_version": "1", | ||
"size": "30 MB", | ||
"changelog": "- 新增了 A 功能\n- 修复了 B 问题\n- 发布 1.0.0 版本", | ||
"release_url": "https://zealot.test/apps/x3gd/100", | ||
"install_url": "https://zealot.test/api/apps/download/12354", | ||
"icon_url": "https://zealot.test/api/apps/icon.png", | ||
"qrcode_url": "https://zealot.test/api/apps/354/qrcode", | ||
"uploaded_at": "2019-12-30 11:33:00", | ||
"changelog": "- 新增了 A 功能\n- 修复了 B 问题\n- 发布 1.0.0 版本", | ||
"uploaded_at": "2019-12-30 11:33:00" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,17 @@ Zealot 为每个应用渠道都提供一个消息通知的网络钩子,网络 | |
```ruby | ||
{ | ||
event: @event, | ||
username: @username, | ||
email: @email, | ||
title: @title, | ||
app_name: @name, | ||
name: @app_name, | ||
app_name: @app_name, | ||
device_type: @device_type, | ||
release_version: @release_version, | ||
build_version: @build_version, | ||
size: @file_size, | ||
changelog: @changelog, | ||
release_url: @release_url, | ||
install_url: @install_url, | ||
icon_url: @icon_url, | ||
qrcode_url: @qrcode_url, | ||
|
@@ -34,16 +38,19 @@ Zealot 为每个应用渠道都提供一个消息通知的网络钩子,网络 | |
```json | ||
{ | ||
"event": "upload_events", | ||
"username": "foobar", | ||
"email": "[email protected]", | ||
"title": "Zealot 样例 iOS 内测版上传了 1.0.0 版本", | ||
"app_name": "Zealot 样例 iOS 内测版", | ||
"device_type": "iOS", | ||
"release_version": "1.0.0", | ||
"build_version": "1", | ||
"size": "30 MB", | ||
"changelog": "- 新增了 A 功能\n- 修复了 B 问题\n- 发布 1.0.0 版本", | ||
"release_url": "https://zealot.test/apps/x3gd/100", | ||
"install_url": "https://zealot.test/api/apps/download/12354", | ||
"icon_url": "https://zealot.test/api/apps/icon.png", | ||
"qrcode_url": "https://zealot.test/api/apps/354/qrcode", | ||
"uploaded_at": "2019-12-30 11:33:00", | ||
"changelog": "- 新增了 A 功能\n- 修复了 B 问题\n- 发布 1.0.0 版本", | ||
"uploaded_at": "2019-12-30 11:33:00" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ The following variables are all provided. | |
```ruby | ||
{ | ||
event: @event, | ||
username: @username, | ||
email: @email, | ||
title: @title, | ||
app_name: @name, | ||
device_type: @device_type, | ||
|
@@ -31,6 +33,8 @@ Output: | |
```json | ||
{ | ||
"event": "upload_events", | ||
"username": "foobar", | ||
"email": "[email protected]", | ||
"title": "Zealot upload 1.0.0 version", | ||
"app_name": "Zealot", | ||
"device_type": "iOS", | ||
|
Oops, something went wrong.
fa6244b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
zealot-docs – ./
zealot-docs-git-main-icy1eaf.vercel.app
docs-seven-kappa.vercel.app
zealot-docs-icy1eaf.vercel.app
zealot.ews.im