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
b4aef0a1
Commit
b4aef0a1
authored
Sep 24, 2020
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[none]标记应用作品是否有第三方链接
parent
281a263a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+10
-0
BookServeDTO.java
...src/main/java/com/pcloud/book/group/dto/BookServeDTO.java
+3
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
b4aef0a1
...
@@ -5164,6 +5164,11 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5164,6 +5164,11 @@ public class BookGroupBizImpl implements BookGroupBiz {
bookServeDTO
.
setFromType
(
productTypeDto
.
getTypeCode
());
bookServeDTO
.
setFromType
(
productTypeDto
.
getTypeCode
());
bookServeDTO
.
setFromTypeName
(
productTypeDto
.
getTypeName
());
bookServeDTO
.
setFromTypeName
(
productTypeDto
.
getTypeName
());
}
}
if
(!
StringUtil
.
isEmpty
(
productDto
.
getSkipUrl
())){
bookServeDTO
.
setHasThirdLink
(
true
);
}
else
{
bookServeDTO
.
setHasThirdLink
(
false
);
}
}
}
}
}
if
(!
MapUtils
.
isEmpty
(
appDtoMap
)
&&
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
bookServeDTO
.
getServeType
()))
{
if
(!
MapUtils
.
isEmpty
(
appDtoMap
)
&&
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
bookServeDTO
.
getServeType
()))
{
...
@@ -5173,6 +5178,11 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5173,6 +5178,11 @@ public class BookGroupBizImpl implements BookGroupBiz {
bookServeDTO
.
setCoverImg
(
appDto
.
getSquareImg
());
bookServeDTO
.
setCoverImg
(
appDto
.
getSquareImg
());
bookServeDTO
.
setFromType
(
appDto
.
getTypeCode
());
bookServeDTO
.
setFromType
(
appDto
.
getTypeCode
());
bookServeDTO
.
setFromTypeName
(
appDto
.
getTypeName
());
bookServeDTO
.
setFromTypeName
(
appDto
.
getTypeName
());
if
(!
StringUtil
.
isEmpty
(
appDto
.
getTurnUrl
())){
bookServeDTO
.
setHasThirdLink
(
true
);
}
else
{
bookServeDTO
.
setHasThirdLink
(
false
);
}
}
}
}
}
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/dto/BookServeDTO.java
View file @
b4aef0a1
...
@@ -42,4 +42,7 @@ public class BookServeDTO extends BaseDto {
...
@@ -42,4 +42,7 @@ public class BookServeDTO extends BaseDto {
private
Double
price
;
private
Double
price
;
private
Integer
isCollect
;
private
Integer
isCollect
;
@ApiModelProperty
(
"是否有第三方链接"
)
private
Boolean
hasThirdLink
;
}
}
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