Commit fb4275da by 张跃

券码预交验

parent 68fa8d87
......@@ -229,8 +229,8 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
//todo:统一流程 下单锁券再核销
// CouponLockRequest couponLockRequest = orderSdkAdapter.convert2CouponLockRequest(orderBean, accounts);
CouponRequest request = orderSdkAdapter.convert2PreCheckRequest(orderBean, accounts, openId);
request.setChannel_ids(getOrgCodes(orderBean.getCompanyId(),orderBean.getShopId()));
if (request != null) {
request.setChannel_ids(getOrgCodes(orderBean.getCompanyId(),orderBean.getShopId()));
// BaseResponse<CouponLockResponse> couponLockResponseBaseResponse = offlineCouponSdkService.couponLock(couponLockRequest, "");
BaseResponse<CouponLockResponse> couponLockResponseBaseResponse = offlineCouponSdkService.precheckAndLock(request, LogThreadLocal.getTrackingNo());
if (!ObjectUtils.equals(RESPONSE_SUCCESS_STR, couponLockResponseBaseResponse.getCode())) {
......
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