ソースを参照

[券支付][修改]:券支付成功后,不用管券是否下架,都应该更新订单状态及创建coupon_order

release_toaliyun_real
Stormeye Wu 6年前
コミット
303982f716
1個のファイルの変更0行の追加4行の削除
  1. +0
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 0
- 4
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java ファイルの表示

@@ -817,10 +817,6 @@ public class WxOrderServiceImpl implements WxOrderService {
logger.error("券不存在, couponId: " + updateOrder.getProductId()); logger.error("券不存在, couponId: " + updateOrder.getProductId());
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY); throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
} }
if (coupon.getStatus() == EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode()) {
logger.error("券已下架, couponId: " + updateOrder.getProductId());
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF);
}
// 检查用户 // 检查用户
WxCUser user = wxCUserMapper.selectByPrimaryKey(updateOrder.getCUserId()); WxCUser user = wxCUserMapper.selectByPrimaryKey(updateOrder.getCUserId());
if (user == null) { if (user == null) {


読み込み中…
キャンセル
保存