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
d9f7e148
Commit
d9f7e148
authored
Jun 08, 2020
by
chongfu.liang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20200513_1.9.25_订单对接券码字段修改' into develop
parents
805d2912
12acba05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/service/ShoppingCartBaseService.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/CouponServiceImpl.java
+1
-1
No files found.
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/service/ShoppingCartBaseService.java
View file @
d9f7e148
...
...
@@ -410,7 +410,7 @@ public interface ShoppingCartBaseService {
couponDetailRequest
.
setMerchantId
(
partnerId
);
couponDetailRequest
.
setPartnerId
(
partnerId
);
// 券码新增参数:组织机构
couponDetailRequest
.
setChannelCodeList
(
this
.
getOrg
Code
s
(
partnerId
,
storeId
));
couponDetailRequest
.
setChannelCodeList
(
this
.
getOrg
Id
s
(
partnerId
,
storeId
));
OnlineCouponSdkService
onlineCouponSdkService
=
SDKCommonBaseContextWare
.
getBean
(
OnlineCouponSdkService
.
class
);
com
.
freemud
.
application
.
sdk
.
api
.
base
.
BaseResponse
<
CouponDetailResponse
>
couponDetailResponse
=
onlineCouponSdkService
.
allDetail
(
couponDetailRequest
,
appKey
,
trackingNo
);
if
(
couponDetailResponse
==
null
||
!
CartResponseConstant
.
SUCCESS
.
getCode
().
equals
(
couponDetailResponse
.
getCode
())
||
couponDetailResponse
.
getData
()
==
null
||
CollectionUtils
.
isEmpty
(
couponDetailResponse
.
getData
().
getDetails
()))
{
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/CouponServiceImpl.java
View file @
d9f7e148
...
...
@@ -237,7 +237,7 @@ public class CouponServiceImpl implements CouponService {
map
.
put
(
Finals
.
ACTION
,
"code.allDetails"
);
// 券码接口新增参数:组织机构(多个用英文逗号分离)
String
channelIds
=
commonService
.
getOrgIdsAsString
(
requestVo
.
getPartnerId
(),
requestVo
.
getStoreId
());
map
.
put
(
Finals
.
CHANNEL_
ID
_LIST
,
channelIds
);
map
.
put
(
Finals
.
CHANNEL_
CODE
_LIST
,
channelIds
);
String
appSecret
=
getAppSecret
(
requestVo
.
getPartnerId
());
String
sign
=
SignUtil
.
createMD5Sign
(
map
,
appSecret
);
map
.
put
(
Finals
.
SIGN
,
sign
);
...
...
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