mirror of
https://github.com/seepine/action-wechat-work.git
synced 2025-01-19 05:59:52 +08:00
doc
This commit is contained in:
parent
5184ae1577
commit
66c9ddeefe
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
msgtype: text
|
msgtype: text
|
||||||
content: 广州今日天气:29度,大部分多云,降雨概率:60%
|
content: 广州今日天气:29度,大部分多云,降雨概率:60%
|
||||||
|
mentioned_list: '["wangqing","@all"]'
|
||||||
|
mentioned_mobile_list: '["13800001111","@all"]'
|
||||||
|
|
||||||
# markdown格式
|
# markdown格式
|
||||||
- name: WeChat Work notification by markdown
|
- name: WeChat Work notification by markdown
|
||||||
@ -21,10 +23,10 @@ jobs:
|
|||||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||||
with:
|
with:
|
||||||
msgtype: markdown
|
msgtype: markdown
|
||||||
content: "实时新增用户反馈<font color=\"warning\">132例</font>,请相关同事注意。\n
|
content: '实时新增用户反馈<font color=\"warning\">132例</font>,请相关同事注意。\n
|
||||||
>类型:<font color=\"comment\">用户反馈</font> \n
|
>类型:<font color=\"comment\">用户反馈</font> \n
|
||||||
>普通用户反馈:<font color=\"comment\">117例</font> \n
|
>普通用户反馈:<font color=\"comment\">117例</font> \n
|
||||||
>VIP用户反馈:<font color=\"comment\">15例</font>"
|
>VIP用户反馈:<font color=\"comment\">15例</font>'
|
||||||
|
|
||||||
# 图片格式
|
# 图片格式
|
||||||
- name: WeChat Work notification by image
|
- name: WeChat Work notification by image
|
||||||
@ -43,4 +45,4 @@ jobs:
|
|||||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||||
with:
|
with:
|
||||||
msgtype: news
|
msgtype: news
|
||||||
articles: [{"title":"中秋节礼品领取","description":"今年中秋节公司有豪礼相送","url":"URL","picurl":"http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png"}]
|
articles: '[{"title":"中秋节礼品领取","description":"今年中秋节公司有豪礼相送","url":"URL","picurl":"http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png"}]'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user