Commit 9e065b92 authored by hupantingxue's avatar hupantingxue

JPush API 3.0 Client:

    Optimize the sample code;
parent 4ff04c2e
APP_KEY = 'xxxxx' APP_KEY = 'xxxxx'
MASTER_SECRET = 'xxxxxx' MASTER_SECRET = 'xxxxxx'
MSG_JSONOBJ = {xxx}
...@@ -8,6 +8,7 @@ import conf ...@@ -8,6 +8,7 @@ import conf
sendno = int(time.time()) sendno = int(time.time())
app_key = conf.APP_KEY app_key = conf.APP_KEY
master_secret = conf.MASTER_SECRET master_secret = conf.MASTER_SECRET
msg_json = conf.MSG_JSONOBJ
jpush_client = JPushClient(master_secret) jpush_client = JPushClient(master_secret)
......
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