Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
f03ad5f4
Commit
f03ad5f4
authored
Mar 15, 2021
by
hanghang.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改SDK
parent
1bdff8c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
+2
-0
shopping-cart-application-service/pom.xml
+2
-2
No files found.
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
View file @
f03ad5f4
...
...
@@ -559,9 +559,11 @@ public class ShoppingCartAdapter {
}
List
<
String
>
attributeIds
=
extra
.
stream
().
map
(
CartGoods
.
CartGoodsExtra
::
getAttributeId
).
collect
(
Collectors
.
toList
());
List
<
String
>
attributeNames
=
extra
.
stream
().
map
(
CartGoods
.
CartGoodsExtra
::
getAttributeName
).
collect
(
Collectors
.
toList
());
List
<
String
>
attributeForeignNames
=
extra
.
stream
().
map
(
CartGoods
.
CartGoodsExtra
::
getAttributeForeignName
).
collect
(
Collectors
.
toList
());
Map
<
String
,
String
>
result
=
new
HashMap
<>();
result
.
put
(
ATTRIBUTEID
,
StringUtils
.
join
(
attributeIds
,
"/"
));
result
.
put
(
ATTRIBUTENAME
,
StringUtils
.
join
(
attributeNames
,
"/"
));
result
.
put
(
ATTRIBUTEFOREIGNNAME
,
StringUtils
.
join
(
attributeForeignNames
,
"/"
));
return
result
;
}
...
...
shopping-cart-application-service/pom.xml
View file @
f03ad5f4
...
...
@@ -35,7 +35,7 @@
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
productcenter-sdk
</artifactId>
<version>
4.0.
2
.SNAPSHOT
</version>
<version>
4.0.
4
.SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
@@ -45,7 +45,7 @@
<dependency>
<groupId>
cn.freemud
</groupId>
<artifactId>
assortment-shoppingcart-sdk
</artifactId>
<version>
2.0.3
2
-SNAPSHOT
</version>
<version>
2.0.3
0
-SNAPSHOT
</version>
</dependency>
<!-- 再来一单查询订单信息 -->
<dependency>
...
...
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