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
70d6da21
Commit
70d6da21
authored
Jul 31, 2020
by
pansy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1003348] 精品文章的链接在小程序配套资料包中不显示处理
parent
d189eef9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+8
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
70d6da21
...
...
@@ -1309,6 +1309,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
Map
<
Long
,
AppDto
>
appDtoMap
=
new
HashMap
<>();
Map
<
Long
,
GroupActivity4AppletDTO
>
groupDtoMap
=
new
HashMap
<>();
Map
<
Long
,
AppletNewsDTO
>
newsDtoMap
=
new
HashMap
<>();
List
<
RightsNowItem
>
list_remove
=
new
ArrayList
<>();
//存储已经删除群的群分类; 精选文章类型并且跳转链接包含qrcode.5rs.me
if
(!
ListUtils
.
isEmpty
(
productIds
))
{
productDtoMap
=
productConsr
.
getProBasesByIds
(
productIds
);
...
...
@@ -1363,6 +1364,9 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if
(
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
item
.
getServeType
()))
{
AppDto
appDto
=
appDtoMap
.
get
(
item
.
getServeId
());
if
(
appDto
!=
null
)
{
if
(!
StringUtil
.
isEmpty
(
appDto
.
getTurnUrl
())
&&
appDto
.
getTurnUrl
().
contains
(
"qrcode.5rs.me"
)
&&
"ARTICLE"
.
equals
(
appDto
.
getTypeCode
())){
list_remove
.
add
(
item
);
}
item
.
setServeName
(
appDto
.
getTitle
());
item
.
setServePic
(
appDto
.
getSquareImg
());
item
.
setServeTypeCode
(
appDto
.
getTypeCode
());
...
...
@@ -1385,6 +1389,8 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
fillGroupActivityHead
(
Collections
.
singletonList
(
groupActivity4AppletDTO
));
item
.
setGroupQrCode
(
groupActivity4AppletDTO
.
getGroupPic
());
item
.
setGroupActivity4AppletDTO
(
groupActivity4AppletDTO
);
}
else
{
list_remove
.
add
(
item
);
//把要移除的统一放在一个集合
}
}
if
(
RightsServeTypeEnum
.
NEWS
.
name
().
equals
(
item
.
getServeType
()))
{
...
...
@@ -1410,6 +1416,8 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
}
}
nowItems
.
removeAll
(
list_remove
);
}
private
void
fillGiftCouponPack
(
RightsSetting
rightsSetting
,
Integer
readType
)
{
...
...
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