From f11bf3409c274c65152c8cd99a9b1e6e6de4462c Mon Sep 17 00:00:00 2001 From: chenlin Date: Mon, 26 May 2025 14:12:45 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D"=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E9=A2=84=E5=94=AE=E5=88=B8"=E9=80=80=E8=B4=A7=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E7=BC=BA=E9=99=B7=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/mall.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/controller/mall.go b/controller/mall.go index 3ea7153..57fa7ec 100644 --- a/controller/mall.go +++ b/controller/mall.go @@ -664,11 +664,7 @@ func MallOrderRefund(c *gin.Context) { case 4: RespJson(c, status.NewMachineCouponDisabled, nil) return - default: - RespJson(c, status.BadRequest, nil) - return } - } else { if goodsOrder.CreatedAt.AddDate(0, 0, 15).Before(utils.Now()) || (!goodsOrder.ReceivedTime.IsZero() && goodsOrder.ReceivedTime.AddDate(0, 0, 7).Before(utils.Now())) {