Commit e73b6622 by 王岩

.

parent d8fd068f
......@@ -83,7 +83,7 @@ jPushMessage() {
echo $(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":"版本更新通知","msg_content":"为了提供更好的服务,系统有一个新版本需要更新,请更新版本。"},"notification":{"alert":"为了提供更好的服务,系统有一个新版本需要更新,请更新版本。","android": {"style": 1, "big_text": "为了提供更好的服务,系统有一个新版本需要更新,请更新版本。", "intent": {"url": "intent:#Intent;action=android.intent.action.MAIN;end"},"category":"IM"}}}' \
-d '{"platform":["ios"],"inapp_message":{"inapp_message":false},"options":{"classification":0,"time_to_live":86400,"apns_production":false,"sendno":1741686107},"notification":{"alert":"565656asdas萨达","ios":{"alert":{"title":"6565啊实打实","body":"565656asdas萨达"},"content-available":0,"mutable-content":true,"sound":"default","badge":"+1","thread-id":"","interruption-level":"active","filter-criteria":"","extras":{}}},"audience":{"alias":["test_84191"]}}' \
--compressed)
}
......
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