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
e56f7357
Commit
e56f7357
authored
Mar 25, 2022
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[1006809]revert
parent
6554d8da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
AppConsr.java
.../src/main/java/com/pcloud/book/consumer/app/AppConsr.java
+2
-2
ProductConsr.java
.../java/com/pcloud/book/consumer/resource/ProductConsr.java
+6
-2
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+3
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/consumer/app/AppConsr.java
View file @
e56f7357
...
...
@@ -320,7 +320,7 @@ public class AppConsr {
}
/*
@ParamLog("RAYS应用")
@ParamLog
(
"RAYS应用"
)
public
Map
<
String
,
AppRaysDTO
>
mapRaysAppByType
(
List
<
String
>
typeCodes
)
{
Map
<
String
,
AppRaysDTO
>
map
=
new
HashMap
<>();
if
(
ListUtils
.
isEmpty
(
typeCodes
))
{
...
...
@@ -333,5 +333,5 @@ public class AppConsr {
LOGGER
.
error
(
"调用失败"
+
e
.
getMessage
(),
e
);
}
return
map
;
}
*/
}
}
pcloud-service-book/src/main/java/com/pcloud/book/consumer/resource/ProductConsr.java
View file @
e56f7357
...
...
@@ -18,6 +18,8 @@ import com.pcloud.resourcecenter.product.dto.UpdateAppProductParamDTO;
import
com.pcloud.resourcecenter.product.entity.Article
;
import
com.pcloud.resourcecenter.product.entity.Product
;
import
com.pcloud.resourcecenter.product.service.ProductService
;
import
com.pcloud.resourcecenter.store.dto.SinglePageInfoDTO
;
import
com.pcloud.resourcecenter.store.service.StoreService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -51,6 +53,8 @@ public class ProductConsr {
@Autowired
private
ProductService
productService
;
@Autowired
private
StoreService
storeService
;
/**
* 微信端,资源中心拉取商品信息
...
...
@@ -529,7 +533,7 @@ public class ProductConsr {
* @Author zhuyajie
* @Date 17:21 2022/3/14
**/
/*
public Map<Long, SinglePageInfoDTO> mapSinglePageByIds(List<Long> singlePageIds) {
public
Map
<
Long
,
SinglePageInfoDTO
>
mapSinglePageByIds
(
List
<
Long
>
singlePageIds
)
{
if
(
ListUtils
.
isEmpty
(
singlePageIds
))
{
return
new
HashMap
<>();
}
...
...
@@ -539,5 +543,5 @@ public class ProductConsr {
LOGGER
.
error
(
"调用storeService.mapSinglePageByIds失败"
+
e
.
getMessage
(),
e
);
}
return
new
HashMap
<>();
}
*/
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
e56f7357
...
...
@@ -157,6 +157,7 @@ import com.pcloud.readercenter.common.enums.YesOrNoNumEnum;
import
com.pcloud.readercenter.userlabel.dto.UserGradeLabelIdDTO
;
import
com.pcloud.resourcecenter.product.dto.ProductDto
;
import
com.pcloud.resourcecenter.product.dto.ProductLabelDto
;
import
com.pcloud.resourcecenter.store.dto.SinglePageInfoDTO
;
import
com.pcloud.usercenter.party.adviser.dto.AdviserBaseInfoDto
;
import
com.pcloud.wechatgroup.wxwork.dto.WxworkGroupQrcodeBaseDTO
;
...
...
@@ -1322,7 +1323,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
if
(
ListUtils
.
isEmpty
(
itemVOS
))
{
return
;
}
/*
List<Long> serveIds = itemVOS.stream().map(ResourcePageItemVO::getServeId).distinct().collect(Collectors.toList());
List
<
Long
>
serveIds
=
itemVOS
.
stream
().
map
(
ResourcePageItemVO:
:
getServeId
).
distinct
().
collect
(
Collectors
.
toList
());
Map
<
Long
,
SinglePageInfoDTO
>
singlePageDTOMap
=
productConsr
.
mapSinglePageByIds
(
serveIds
);
if
(
MapUtils
.
isEmpty
(
singlePageDTOMap
))
{
return
;
...
...
@@ -1336,7 +1337,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
itemVO
.
setTransverseImg
(
singlePageDTO
.
getImgUrl
());
}
itemVO
.
setResultUrl
(
itemVO
.
getLinkUrl
());
}
*/
}
}
@ParamLog
(
"填充平台会员活动"
)
...
...
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