Commit 1421092e by 王岩

保存

parent b6743561
...@@ -44,11 +44,11 @@ get_current_branch() { ...@@ -44,11 +44,11 @@ get_current_branch() {
#发送消息通知 #发送消息通知
jPush() { jPush() {
curl "https://api.jpush.cn/v3/push" \ curl -s "https://api.jpush.cn/v3/push" \
-H "Authorization: Basic YjhiNjcyZmY3MjkyNjM1MTkzZjFhNjgwOmJmYWExYTg3YTEwZTNlMTJjNTI0ZmI0OQ==" \ -H "Authorization: Basic YjhiNjcyZmY3MjkyNjM1MTkzZjFhNjgwOmJmYWExYTg3YTEwZTNlMTJjNTI0ZmI0OQ==" \
-H "Content-Type: text/plain;charset=UTF-8" \ -H "Content-Type: text/plain;charset=UTF-8" \
-d '{"platform":["android", "ios"],"audience":{"alias":["test_83916"]},"message":{"title":"Update","msg_content":"Update"}}' \ -d '{"platform":["android", "ios"],"audience":{"alias":["test_83916"]},"message":{"title":"Update","msg_content":"Update"}}' \
--compressed 2>$1 --compressed
if [ $? -ne 0 ];then if [ $? -ne 0 ];then
......
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