Authored by chenjian

fix

1 package com.yohoufo.order.controller; 1 package com.yohoufo.order.controller;
2 2
3 import com.yohoufo.common.ApiResponse; 3 import com.yohoufo.common.ApiResponse;
  4 +import com.yohoufo.order.constants.CouponConstants;
4 import com.yohoufo.order.model.request.OfflineShoppingRequest; 5 import com.yohoufo.order.model.request.OfflineShoppingRequest;
5 import com.yohoufo.order.model.response.ComputeResponse; 6 import com.yohoufo.order.model.response.ComputeResponse;
6 import com.yohoufo.order.model.response.OfflinePaymentResponse; 7 import com.yohoufo.order.model.response.OfflinePaymentResponse;
@@ -38,6 +39,7 @@ public class OfflineShoppingController { @@ -38,6 +39,7 @@ public class OfflineShoppingController {
38 req.setUid(uid); 39 req.setUid(uid);
39 req.setSkup(skup); 40 req.setSkup(skup);
40 req.setStoreId(storeId); 41 req.setStoreId(storeId);
  42 + req.setCouponCodes(CouponConstants.AUTO_RECOMMENDED_COUPON_CODES);
41 req.setBusinessClient(businessClient); 43 req.setBusinessClient(businessClient);
42 req.setApiVersion(apiVersion); 44 req.setApiVersion(apiVersion);
43 logger.info("in ufo.order.offlinePayment, req {}", req); 45 logger.info("in ufo.order.offlinePayment, req {}", req);