Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jpush-api-python-client
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
jpush-api-python-client
Commits
5fdb139b
Commit
5fdb139b
authored
Jun 20, 2014
by
hupantingxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some issues;
parent
0c7d0c0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common.py
jpush/common.py
+1
-1
payload.py
jpush/push/payload.py
+2
-2
No files found.
jpush/common.py
View file @
5fdb139b
...
...
@@ -3,7 +3,7 @@ import logging
BASE_URL
=
"https://api.jpush.cn/"
PUSH_URL
=
BASE_URL
+
'v3/push
/
'
PUSH_URL
=
BASE_URL
+
'v3/push'
logger
=
logging
.
getLogger
(
'jpush'
)
...
...
jpush/push/payload.py
View file @
5fdb139b
...
...
@@ -81,11 +81,11 @@ def android(alert, title=None, builder_id=None, extras=None):
if
alert
is
not
None
:
payload
[
'alert'
]
=
alert
if
title
is
not
None
:
payload
[
'title'
]
=
collapse_key
payload
[
'title'
]
=
title
if
builder_id
is
not
None
:
payload
[
'builder_id'
]
=
builder_id
if
extra
is
not
None
:
payload
[
'extra
'
]
=
extra
payload
[
'extra
s'
]
=
extras
return
payload
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment