Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-android
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 81e10151
authored
Nov 04, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
e07f9982
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
app/src/main/java/com/polysoft/nafmii/bean/JPushBean.java
app/src/main/java/com/polysoft/nafmii/jpush/JPushReceiver.java
app/src/main/java/com/polysoft/nafmii/bean/JPushBean.java
View file @
81e1015
...
@@ -7,9 +7,6 @@ public class JPushBean {
...
@@ -7,9 +7,6 @@ public class JPushBean {
@JSONField
(
name
=
"type"
)
@JSONField
(
name
=
"type"
)
private
String
type
;
private
String
type
;
@JSONField
(
name
=
"params"
)
private
Params
params
;
@JSONField
(
name
=
"url"
)
@JSONField
(
name
=
"url"
)
private
String
url
;
private
String
url
;
...
@@ -21,14 +18,6 @@ public class JPushBean {
...
@@ -21,14 +18,6 @@ public class JPushBean {
this
.
type
=
type
;
this
.
type
=
type
;
}
}
public
Params
getParams
()
{
return
params
;
}
public
void
setParams
(
Params
params
)
{
this
.
params
=
params
;
}
public
String
getUrl
()
{
public
String
getUrl
()
{
return
url
;
return
url
;
}
}
...
...
app/src/main/java/com/polysoft/nafmii/jpush/JPushReceiver.java
View file @
81e1015
...
@@ -62,9 +62,6 @@ public class JPushReceiver extends JPushMessageReceiver {
...
@@ -62,9 +62,6 @@ public class JPushReceiver extends JPushMessageReceiver {
if
(
"learn"
.
equals
(
bean
.
getType
()))
{
if
(
"learn"
.
equals
(
bean
.
getType
()))
{
String
url
=
bean
.
getUrl
();
String
url
=
bean
.
getUrl
();
if
(
null
!=
bean
.
getParams
())
{
url
=
bean
.
getParams
().
getUrl
();
}
if
(
TextUtils
.
isEmpty
(
url
))
return
;
if
(
TextUtils
.
isEmpty
(
url
))
return
;
OpenUrlBean
dataBean
=
new
OpenUrlBean
();
OpenUrlBean
dataBean
=
new
OpenUrlBean
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment