Skip to content

Commit

Permalink
U push_impl.wxpusher.sh: improve backend wxpusher
Browse files Browse the repository at this point in the history
  • Loading branch information
yurenchen000 committed Oct 22, 2024
1 parent e1ec628 commit 472dcff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion push_impl.wxpusher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
do_push_wxpusher(){
local tit="$1"
local msg="$2"

curl -s https://wxpusher.zjiecode.com/api/send/message/simple-push \
-H 'Content-Type: application/json' -d @- <<-EOF
{
"content":"$msg",
"summary":"$tit",
"contentType":2,
"contentType":3,
"spt":"$wxpusher_spt"
}
EOF
Expand Down

0 comments on commit 472dcff

Please sign in to comment.