From e38e8a91e5a92e6ecfd1baf199174df67294597e Mon Sep 17 00:00:00 2001 From: mountain Date: Mon, 4 Mar 2024 19:26:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=8F=B0=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=B2=B4=EB=A6=AC=ED=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/api_coupon.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/api_coupon.go b/core/api_coupon.go index 23b99b7..6869838 100644 --- a/core/api_coupon.go +++ b/core/api_coupon.go @@ -345,12 +345,6 @@ func useCoupon(mongoClient gocommon.MongoClient, w http.ResponseWriter, r *http. } } - if coupon.Expire < time.Now().Unix() { - // 쿠폰 만료시간 경과 - w.WriteHeader(http.StatusInternalServerError) - return - } - if len(coupon.Effect) == 0 { // 쿠폰이 없네? w.WriteHeader(http.StatusBadRequest)