Commit d9f7e148 by chongfu.liang

Merge branch 'feature/20200513_1.9.25_订单对接券码字段修改' into develop

parents 805d2912 12acba05
...@@ -410,7 +410,7 @@ public interface ShoppingCartBaseService { ...@@ -410,7 +410,7 @@ public interface ShoppingCartBaseService {
couponDetailRequest.setMerchantId(partnerId); couponDetailRequest.setMerchantId(partnerId);
couponDetailRequest.setPartnerId(partnerId); couponDetailRequest.setPartnerId(partnerId);
// 券码新增参数:组织机构 // 券码新增参数:组织机构
couponDetailRequest.setChannelCodeList(this.getOrgCodes(partnerId, storeId)); couponDetailRequest.setChannelCodeList(this.getOrgIds(partnerId, storeId));
OnlineCouponSdkService onlineCouponSdkService = SDKCommonBaseContextWare.getBean(OnlineCouponSdkService.class); OnlineCouponSdkService onlineCouponSdkService = SDKCommonBaseContextWare.getBean(OnlineCouponSdkService.class);
com.freemud.application.sdk.api.base.BaseResponse<CouponDetailResponse> couponDetailResponse = onlineCouponSdkService.allDetail(couponDetailRequest, appKey, trackingNo); 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())) { if (couponDetailResponse == null || !CartResponseConstant.SUCCESS.getCode().equals(couponDetailResponse.getCode()) || couponDetailResponse.getData() == null || CollectionUtils.isEmpty(couponDetailResponse.getData().getDetails())) {
......
...@@ -237,7 +237,7 @@ public class CouponServiceImpl implements CouponService { ...@@ -237,7 +237,7 @@ public class CouponServiceImpl implements CouponService {
map.put(Finals.ACTION, "code.allDetails"); map.put(Finals.ACTION, "code.allDetails");
// 券码接口新增参数:组织机构(多个用英文逗号分离) // 券码接口新增参数:组织机构(多个用英文逗号分离)
String channelIds = commonService.getOrgIdsAsString(requestVo.getPartnerId(), requestVo.getStoreId()); 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 appSecret = getAppSecret(requestVo.getPartnerId());
String sign = SignUtil.createMD5Sign(map, appSecret); String sign = SignUtil.createMD5Sign(map, appSecret);
map.put(Finals.SIGN, sign); map.put(Finals.SIGN, sign);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment