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
ff281cbe
Commit
ff281cbe
authored
Feb 26, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1004188-01' into 'master'
feat: [1004188] getti外刊阅读 See merge request rays/pcloud-book!1215
parents
5bcfe203
fc0021b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+6
-6
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+1
-6
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
ff281cbe
...
@@ -5257,12 +5257,6 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5257,12 +5257,6 @@ public class BookGroupBizImpl implements BookGroupBiz {
if
((
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
.
contains
(
RightsSettingConstant
.
APPLET_APP_NOT_SUPPORT
,
item
.
getFromType
()))
if
((
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
.
contains
(
RightsSettingConstant
.
APPLET_APP_NOT_SUPPORT
,
item
.
getFromType
()))
||
(
AppAndProductTypeEnum
.
PRODUCT
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
.
contains
(
RightsSettingConstant
.
APPLET_PRODUCT_NOT_SUPPORT
,
item
.
getFromType
()))
||
StringUtil
.
isEmpty
(
item
.
getFromType
()))
{
||
(
AppAndProductTypeEnum
.
PRODUCT
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
.
contains
(
RightsSettingConstant
.
APPLET_PRODUCT_NOT_SUPPORT
,
item
.
getFromType
()))
||
StringUtil
.
isEmpty
(
item
.
getFromType
()))
{
toRemoveList
.
add
(
item
);
toRemoveList
.
add
(
item
);
}
else
{
//RAYS应用在小程序里单独展示
List
<
String
>
typeCodes
=
appConsr
.
getRaysAppTypeCodes
();
if
(!
ListUtils
.
isEmpty
(
typeCodes
)
&&
typeCodes
.
contains
(
item
.
getFromType
()))
{
toRemoveList
.
add
(
item
);
}
}
}
}
}
if
(!
ListUtils
.
isEmpty
(
toRemoveList
))
{
if
(!
ListUtils
.
isEmpty
(
toRemoveList
))
{
...
@@ -6441,12 +6435,18 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -6441,12 +6435,18 @@ public class BookGroupBizImpl implements BookGroupBiz {
continue
;
continue
;
}
}
if
(
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
bookServeDTO
.
getServeType
()))
{
if
(
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
bookServeDTO
.
getServeType
()))
{
List
<
String
>
typeCodes
=
appConsr
.
getRaysAppTypeCodes
();
if
(!
MapUtils
.
isEmpty
(
appDtoMap
)
&&
null
!=
appDtoMap
.
get
(
bookServeDTO
.
getServeId
()))
{
if
(!
MapUtils
.
isEmpty
(
appDtoMap
)
&&
null
!=
appDtoMap
.
get
(
bookServeDTO
.
getServeId
()))
{
AppDto
appDto
=
appDtoMap
.
get
(
bookServeDTO
.
getServeId
());
AppDto
appDto
=
appDtoMap
.
get
(
bookServeDTO
.
getServeId
());
if
(
checkRayUrl
(
appDto
.
getTurnUrl
())
&&
AppTypeEnum
.
ARTICLE
.
value
.
equals
(
appDto
.
getTypeCode
())){
if
(
checkRayUrl
(
appDto
.
getTurnUrl
())
&&
AppTypeEnum
.
ARTICLE
.
value
.
equals
(
appDto
.
getTypeCode
())){
removeList
.
add
(
bookServeDTO
);
removeList
.
add
(
bookServeDTO
);
continue
;
continue
;
}
}
//RAYS应用在小程序里单独展示,不展示在配套资料中
if
(!
ListUtils
.
isEmpty
(
typeCodes
)
&&
typeCodes
.
contains
(
appDto
.
getTypeCode
()))
{
removeList
.
add
(
bookServeDTO
);
continue
;
}
bookServeDTO
.
setServeName
(
appDto
.
getTitle
());
bookServeDTO
.
setServeName
(
appDto
.
getTitle
());
bookServeDTO
.
setCoverImg
(
appDto
.
getSquareImg
());
bookServeDTO
.
setCoverImg
(
appDto
.
getSquareImg
());
bookServeDTO
.
setFromType
(
appDto
.
getTypeCode
());
bookServeDTO
.
setFromType
(
appDto
.
getTypeCode
());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
ff281cbe
...
@@ -3493,12 +3493,6 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -3493,12 +3493,6 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
||
AppAndProductTypeEnum
.
PRODUCT
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
||
AppAndProductTypeEnum
.
PRODUCT
.
value
.
equals
(
item
.
getServeType
())
&&
ArrayUtils
.
contains
(
RightsSettingConstant
.
APPLET_PRODUCT_NOT_SUPPORT
,
item
.
getServeTypeCode
()))
{
.
contains
(
RightsSettingConstant
.
APPLET_PRODUCT_NOT_SUPPORT
,
item
.
getServeTypeCode
()))
{
toRemoveList
.
add
(
item
);
toRemoveList
.
add
(
item
);
}
else
{
//RAYS应用在小程序里单独展示
List
<
String
>
typeCodes
=
appConsr
.
getRaysAppTypeCodes
();
if
(!
ListUtils
.
isEmpty
(
typeCodes
)
&&
typeCodes
.
contains
(
item
.
getServeTypeCode
()))
{
toRemoveList
.
add
(
item
);
}
}
}
}
}
if
(!
ListUtils
.
isEmpty
(
toRemoveList
))
{
if
(!
ListUtils
.
isEmpty
(
toRemoveList
))
{
...
@@ -4406,4 +4400,5 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -4406,4 +4400,5 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
List
<
BookServeDTO
>
list
=
rightsNowItemDao
.
getServeItemsByServeTypes
(
rightsSettingDto
.
getId
(),
serveTypes
,
limit
);
List
<
BookServeDTO
>
list
=
rightsNowItemDao
.
getServeItemsByServeTypes
(
rightsSettingDto
.
getId
(),
serveTypes
,
limit
);
return
list
;
return
list
;
}
}
}
}
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