Skip to content

Commit

Permalink
add: GetApplicationFavourite
Browse files Browse the repository at this point in the history
  • Loading branch information
chyroc committed Apr 7, 2023
1 parent 55f94c9 commit cba17f7
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ https://godoc.org/github.com/chyroc/lark

## Support APIs

API Count: 742, Event Count: 104
API Count: 744, Event Count: 104

<details>
<summary>
Expand Down Expand Up @@ -95,6 +95,8 @@ API Count: 742, Event Count: 104
- OpenTaskDetail
- OpenTaskTab
- Application
- GetApplicationFavourite
- GetApplicationRecommend
- GetApplicationRecommendRuleList
- IsApplicationUserAdmin
- GetApplicationUserAdminScope
Expand Down
4 changes: 3 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ https://godoc.org/github.com/chyroc/lark

## 支持的接口

API 总数: 742, 事件总数: 104
API 总数: 744, 事件总数: 104

<details>
<summary>
Expand Down Expand Up @@ -95,6 +95,8 @@ API 总数: 742, 事件总数: 104
- OpenTaskDetail
- OpenTaskTab
- Application
- GetApplicationFavourite
- GetApplicationRecommend
- GetApplicationRecommendRuleList
- IsApplicationUserAdmin
- GetApplicationUserAdminScope
Expand Down
94 changes: 94 additions & 0 deletions api_application_favourite.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion card/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func Test_Module(t *testing.T) {
as.Equal(`{"tag":"hr"}`, jsonString(card.HR()))

// image
as.Equal(`{"alt":{"tag":"plain_text"},"img_key":"img","tag":"img"}`, jsonString(card.ModuleImage("img")))
as.Equal(`{"alt":{"tag":"plain_text","content":""},"img_key":"img","tag":"img"}`, jsonString(card.ModuleImage("img")))

// markdown
as.Equal(`{"content":"- 1","tag":"markdown"}`, jsonString(card.Markdown("- 1")))
Expand Down
2 changes: 2 additions & 0 deletions mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions test/application_sample_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cba17f7

Please sign in to comment.