Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
c73e6d63
Commit
c73e6d63
authored
Apr 13, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into dev
parents
491fcb7e
ef4104ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
JPushBiz.java
...c/main/java/com/xxfc/platform/universal/biz/JPushBiz.java
+5
-4
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/JPushBiz.java
View file @
c73e6d63
...
...
@@ -14,6 +14,7 @@ import cn.jpush.api.push.model.audience.Audience;
import
cn.jpush.api.push.model.notification.AndroidNotification
;
import
cn.jpush.api.push.model.notification.IosNotification
;
import
cn.jpush.api.push.model.notification.Notification
;
import
com.alibaba.fastjson.JSONObject
;
import
com.github.wxiaoqi.security.common.biz.BaseBiz
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.util.process.ResultCode
;
...
...
@@ -196,10 +197,10 @@ public class JPushBiz extends BaseBiz<MessagePushMapper, MessagePush> {
String
urlJson
=
messagePush
.
getUrlJson
();
String
url
=
""
;
String
title
=
""
;
if
(
StringUtils
.
isNotBlank
(
messagePush
.
get
Intent
())){
J
sonObject
jsonObject
=
getJson
Object
(
urlJson
);
url
=
jsonObject
.
get
(
"url"
).
toString
(
);
title
=
jsonObject
.
get
(
"title"
).
toString
(
);
if
(
StringUtils
.
isNotBlank
(
messagePush
.
get
UrlJson
())){
J
SONObject
jsonObject
=
JSONObject
.
parse
Object
(
urlJson
);
url
=
jsonObject
.
getString
(
"url"
);
title
=
jsonObject
.
getString
(
"title"
);
}
extras
.
put
(
"url"
,
url
);
...
...
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