Commit 87676868 by 王岩

保存

parent 1421092e
......@@ -43,13 +43,14 @@ get_current_branch() {
#发送消息通知
jPush() {
curl -s "https://api.jpush.cn/v3/push" \
response=$(curl -s "https://api.jpush.cn/v3/push" \
-H "Authorization: Basic YjhiNjcyZmY3MjkyNjM1MTkzZjFhNjgwOmJmYWExYTg3YTEwZTNlMTJjNTI0ZmI0OQ==" \
-H "Content-Type: text/plain;charset=UTF-8" \
-d '{"platform":["android", "ios"],"audience":{"alias":["test_83916"]},"message":{"title":"Update","msg_content":"Update"}}' \
--compressed
--compressed)
echo $response
if [ $? -ne 0 ];then
log $? "error"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment