...
|
...
|
@@ -74,6 +74,7 @@ public class ShoppingController { |
|
|
@RequestMapping(params = "method=ufo.order.selectCoupon")
|
|
|
public ApiResponse selectCoupon(@RequestParam(name = "uid") int uid,
|
|
|
@RequestParam(name = "skup") int skup,
|
|
|
@RequestParam(name = "addressId", required = false) String addressId,
|
|
|
@RequestParam(name = "coupon_code",required = false) String couponCode,
|
|
|
@RequestParam(name="depositRequirement", required = false, defaultValue = OrderConstant.N_STR)String depositRequirement) {
|
|
|
//活动类型
|
...
|
...
|
@@ -84,6 +85,7 @@ public class ShoppingController { |
|
|
.couponCodes(activityTypeEnum.isCouponFlag() ? CouponCodeUtils.asList(couponCode) : null)
|
|
|
.userActivityId(0).activityType(activityTypeEnum)
|
|
|
.depositRequirement(depositRequirement)
|
|
|
.addressId(addressId)
|
|
|
.build();
|
|
|
logger.info("in ufo.order.selectCoupon, req {}", req);
|
|
|
ShoppingCouponListResp resp = buyerOrderService.selectCoupon(req);
|
...
|
...
|
|