mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 20:52:53 +08:00
update 2026-10-27 11:22:48
This commit is contained in:
1 parent
a4d6470641
commit
63a5dffe55
4907 files changed
+2036791
No files matched your search
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"_api": "这是企业微信图文信息 api 文件",
|
||||
"_api": "【企业微信】",
|
||||
|
||||
"url": "\"https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=$(curl -s \"https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=${corpid}&corpsecret=${corpsecret}\"|jq '.access_token'|sed 's/\"//g')\"",
|
||||
"data": "@${tempjsonpath}",
|
||||
"content_type": "Content-Type: application/json",
|
||||
"str_title_start": "<b>",
|
||||
"str_title_end": "</b>",
|
||||
"str_linefeed": "<br>",
|
||||
"str_splitline": "<hr>",
|
||||
"str_space": " ",
|
||||
"str_tab": "",
|
||||
"type":
|
||||
{
|
||||
"touser": "\"${userid}\"",
|
||||
"msgtype": "\"mpnews\"",
|
||||
"agentid": "\"${agentid}\"",
|
||||
"mpnews":{
|
||||
"articles":[
|
||||
{
|
||||
"title": "\"${1} ${nowtime}\"",
|
||||
"thumb_media_id": "\"`curl \"https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token=$(curl -s \"https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=${corpid}&corpsecret=${corpsecret}\"|jq '.access_token'|sed 's/\"//g')&type=image\" -F \"file=@${mediapath}\"|jq '.media_id'|sed 's/\"//g'`\"",
|
||||
"author": "\"\"",
|
||||
"content_source_url": "\"\"",
|
||||
"content": "\"${2}\"",
|
||||
"digest": "\"\""
|
||||
}
|
||||
]
|
||||
},
|
||||
"safe":0
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user