Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
33563849
Commit
33563849
authored
Apr 01, 2020
by
zhuyajie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug1022323
parent
af5e9a50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
PushCheck.java
...k/src/main/java/com/pcloud/book/push/check/PushCheck.java
+5
-5
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/push/check/PushCheck.java
View file @
33563849
...
@@ -395,22 +395,22 @@ public class PushCheck {
...
@@ -395,22 +395,22 @@ public class PushCheck {
item
.
setTextContent
(
paramDTO
.
getContent
());
item
.
setTextContent
(
paramDTO
.
getContent
());
item
.
setItemType
(
ItemTypeEnum
.
TEXT
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
TEXT
.
value
);
}
}
if
(
ReplyTypeEnum
.
LINK
.
value
.
equals
(
paramDTO
.
getReplyType
())){
else
if
(
ReplyTypeEnum
.
LINK
.
value
.
equals
(
paramDTO
.
getReplyType
())){
item
.
setLinkUrl
(
paramDTO
.
getLinkUrl
());
item
.
setLinkUrl
(
paramDTO
.
getLinkUrl
());
item
.
setLinkTitle
(
paramDTO
.
getContent
());
item
.
setLinkTitle
(
paramDTO
.
getContent
());
item
.
setLinkDescription
(
paramDTO
.
getDescription
());
item
.
setLinkDescription
(
paramDTO
.
getDescription
());
item
.
setLinkImageUrl
(
paramDTO
.
getPicUrl
());
item
.
setLinkImageUrl
(
paramDTO
.
getPicUrl
());
item
.
setItemType
(
ItemTypeEnum
.
LINK
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
LINK
.
value
);
}
}
if
(
ReplyTypeEnum
.
IMAGE
.
value
.
equals
(
paramDTO
.
getReplyType
())){
else
if
(
ReplyTypeEnum
.
IMAGE
.
value
.
equals
(
paramDTO
.
getReplyType
())){
item
.
setImageUrl
(
paramDTO
.
getPicUrl
());
item
.
setImageUrl
(
paramDTO
.
getPicUrl
());
item
.
setItemType
(
ItemTypeEnum
.
IMAGE
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
IMAGE
.
value
);
}
}
if
(
ReplyTypeEnum
.
RESOURCE
.
value
.
equals
(
paramDTO
.
getReplyType
())){
else
if
(
ReplyTypeEnum
.
RESOURCE
.
value
.
equals
(
paramDTO
.
getReplyType
())){
item
.
setResourceId
(
paramDTO
.
getResourceId
());
item
.
setResourceId
(
paramDTO
.
getResourceId
());
item
.
setItemType
(
ItemTypeEnum
.
RESOURCE
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
RESOURCE
.
value
);
}
}
if
(
ReplyTypeEnum
.
APP
.
value
.
equals
(
paramDTO
.
getReplyType
())){
else
if
(
ReplyTypeEnum
.
APP
.
value
.
equals
(
paramDTO
.
getReplyType
())){
if
(
"APP"
.
equalsIgnoreCase
(
paramDTO
.
getServeType
()))
{
if
(
"APP"
.
equalsIgnoreCase
(
paramDTO
.
getServeType
()))
{
item
.
setAppId
(
paramDTO
.
getServeId
());
item
.
setAppId
(
paramDTO
.
getServeId
());
item
.
setAppUrl
(
paramDTO
.
getLinkUrl
());
item
.
setAppUrl
(
paramDTO
.
getLinkUrl
());
...
@@ -425,7 +425,7 @@ public class PushCheck {
...
@@ -425,7 +425,7 @@ public class PushCheck {
item
.
setLinkUrl
(
paramDTO
.
getLinkUrl
());
item
.
setLinkUrl
(
paramDTO
.
getLinkUrl
());
item
.
setItemType
(
ItemTypeEnum
.
APP
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
APP
.
value
);
}
}
if
(
ReplyTypeEnum
.
AUDIO
.
value
.
equals
(
paramDTO
.
getReplyType
())){
else
if
(
ReplyTypeEnum
.
AUDIO
.
value
.
equals
(
paramDTO
.
getReplyType
())){
item
.
setResourceId
(
paramDTO
.
getResourceId
());
item
.
setResourceId
(
paramDTO
.
getResourceId
());
item
.
setItemType
(
ItemTypeEnum
.
AUDIO
.
value
);
item
.
setItemType
(
ItemTypeEnum
.
AUDIO
.
value
);
}
else
{
}
else
{
...
...
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