Skip to content

Commit da56ec3

Browse files
authored
Merge pull request #32 from fendouai/dev
fix the example and readme
2 parents 846c153 + b349a3d commit da56ec3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
## 兼容版本
99
+ Python 2.7
10-
+ Python 3 ,可以运行,建议继续使用 jpush 3.1.2 ,经过完整测试后会发布新版本。
11-
12-
建议 Python3 的开发者继续使用 jpush 3.1.2,pip 地址:
13-
14-
> https://pypi.python.org/pypi?:action=display&name=jpush&version=3.1.2
10+
+ Python 3
1511

1612
## 环境配置
1713

examples/push_examples/example_platformmsg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
ios_msg = jpush.ios(alert="Hello, IOS JPush!", badge="+1", sound="a.caf", extras={'k1':'v1'})
88
android_msg = jpush.android(alert="Hello, android msg")
99
push.notification = jpush.notification(alert="Hello, JPush!", android=android_msg, ios=ios_msg)
10+
push.message=jpush.message("content",extras={'k2':'v2','k3':'v3'})
1011
push.platform = jpush.all_
1112
push.send()

0 commit comments

Comments
 (0)