|
|
|
@@ -384,7 +384,7 @@ public class WxCouponOrderController extends BaseController { |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "商品发货", notes = "{\"id\":\"string\", \"deliveryInfo\":\"string\"}") |
|
|
|
@ApiOperation(value = "商品发货", notes = "{\"id\":\"string\", \"deliveryInfo\":\"jsonString\"}") |
|
|
|
@PostMapping("/sendGoods") |
|
|
|
public ResultData sendGoods(@RequestBody WxCouponOrder wxCouponOrder) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxCouponPasswordController::postpone"); |
|
|
|
@@ -397,6 +397,9 @@ public class WxCouponOrderController extends BaseController { |
|
|
|
if(couponOrder==null){ |
|
|
|
return new ResultData(ErrorCode.COUPON_ORDER_IS_NULL); |
|
|
|
} |
|
|
|
if(!EnumCouponOrderStatus.COUPON_ORDER_USE_WAIT.getCode().equals(couponOrder.getCouponOrderStatus())){ |
|
|
|
return new ResultData(ErrorCode.COUPON_GOODS_STATUS_NOT_SUPPORTED); |
|
|
|
} |
|
|
|
WxCouponOrder updateCouponOrder = new WxCouponOrder(); |
|
|
|
updateCouponOrder.setId(couponOrder.getId()); |
|
|
|
if(EnumOrderShopingType.SELF_MENTION.getCode().equals(couponOrder.getShippingType())){ |
|
|
|
|