zoujiajian 3 年之前
父节点
当前提交
9e310626cc

+ 4 - 4
netflix-service/src/main/java/com/cyksj/service/coupon/impl/CouponFontServiceImpl.java

@@ -287,13 +287,13 @@ public class CouponFontServiceImpl implements CouponFontService {
 			if (!couponIdList.contains(couponId)) {
 				throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
 			}
-			//优惠券领取状态校验
-			collectCommonCheck(couponId, userId);
-			//领取优惠券
-			receiveCouponUser(couponId, userId, CouponUser.Channel.channel_popularize);
 		} catch (Exception e) {
 			throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
 		}
+		//优惠券领取状态校验
+		collectCommonCheck(couponId, userId);
+		//领取优惠券
+		receiveCouponUser(couponId, userId, CouponUser.Channel.channel_popularize);
 	}
 
 	/**