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
10f47f02
Commit
10f47f02
authored
Sep 23, 2020
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] 解决无法获取渠道对应accountSetting时的报错问题
parent
6cb05388
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
10f47f02
...
@@ -3078,7 +3078,7 @@ public class BookBizImpl implements BookBiz {
...
@@ -3078,7 +3078,7 @@ public class BookBizImpl implements BookBiz {
if
(
ListUtils
.
isEmpty
(
list
))
{
if
(
ListUtils
.
isEmpty
(
list
))
{
return
;
return
;
}
}
AccountSettingDto
accountSettingDto
=
qrcodeSceneConsr
.
getWechatInfo
(
channelId
);
//
AccountSettingDto accountSettingDto = qrcodeSceneConsr.getWechatInfo(channelId);
List
<
Long
>
appIds
=
list
.
stream
().
filter
(
s
->
"APP"
.
equalsIgnoreCase
(
s
.
getServeType
())).
map
(
x
->
x
.
getServeId
()).
collect
(
Collectors
.
toList
());
List
<
Long
>
appIds
=
list
.
stream
().
filter
(
s
->
"APP"
.
equalsIgnoreCase
(
s
.
getServeType
())).
map
(
x
->
x
.
getServeId
()).
collect
(
Collectors
.
toList
());
List
<
Long
>
productIds
=
list
.
stream
().
filter
(
s
->
"PRODUCT"
.
equalsIgnoreCase
(
s
.
getServeType
())).
map
(
x
->
x
.
getServeId
()).
collect
(
Collectors
.
toList
());
List
<
Long
>
productIds
=
list
.
stream
().
filter
(
s
->
"PRODUCT"
.
equalsIgnoreCase
(
s
.
getServeType
())).
map
(
x
->
x
.
getServeId
()).
collect
(
Collectors
.
toList
());
Map
<
Long
,
ProductDto
>
productDtoMap
=
new
HashMap
<>();
Map
<
Long
,
ProductDto
>
productDtoMap
=
new
HashMap
<>();
...
@@ -3118,7 +3118,7 @@ public class BookBizImpl implements BookBiz {
...
@@ -3118,7 +3118,7 @@ public class BookBizImpl implements BookBiz {
serveDto
.
setDepLabelName
(
productDto
.
getProductLabels
().
get
(
0
).
getDepLabelName
());
serveDto
.
setDepLabelName
(
productDto
.
getProductLabels
().
get
(
0
).
getDepLabelName
());
serveDto
.
setPurLabelName
(
productDto
.
getProductLabels
().
get
(
0
).
getPurLabelName
());
serveDto
.
setPurLabelName
(
productDto
.
getProductLabels
().
get
(
0
).
getPurLabelName
());
}
}
serveDto
.
setShortUrl
(
SendWeixinRequestTools
.
splitUrl
(
accountSettingDto
,
serveDto
.
getServeUrl
()));
//
serveDto.setShortUrl(SendWeixinRequestTools.splitUrl(accountSettingDto, serveDto.getServeUrl()));
serveDto
.
setServeCreateUser
(
productDto
.
getAuthor
());
serveDto
.
setServeCreateUser
(
productDto
.
getAuthor
());
serveDto
.
setTransverseImg
(
productDto
.
getPicture1
());
serveDto
.
setTransverseImg
(
productDto
.
getPicture1
());
}
}
...
@@ -3144,7 +3144,7 @@ public class BookBizImpl implements BookBiz {
...
@@ -3144,7 +3144,7 @@ public class BookBizImpl implements BookBiz {
serveDto
.
setProLabelId
(
appDto
.
getProLabelId
());
serveDto
.
setProLabelId
(
appDto
.
getProLabelId
());
serveDto
.
setDepLabelId
(
appDto
.
getDepLabelId
());
serveDto
.
setDepLabelId
(
appDto
.
getDepLabelId
());
serveDto
.
setPurLabelId
(
appDto
.
getPurLabelId
());
serveDto
.
setPurLabelId
(
appDto
.
getPurLabelId
());
serveDto
.
setShortUrl
(
SendWeixinRequestTools
.
splitUrl
(
accountSettingDto
,
serveDto
.
getServeUrl
()));
//
serveDto.setShortUrl(SendWeixinRequestTools.splitUrl(accountSettingDto, serveDto.getServeUrl()));
serveDto
.
setServeCreateUser
(
appDto
.
getCreatedUser
());
serveDto
.
setServeCreateUser
(
appDto
.
getCreatedUser
());
serveDto
.
setTransverseImg
(
appDto
.
getTransverseImg
());
serveDto
.
setTransverseImg
(
appDto
.
getTransverseImg
());
}
}
...
...
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