From 35a025967dc8670d5cb25ccb5e9b3c78228ce20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=96=87=E6=9D=B0?= <1139629972@qq.com> Date: Tue, 5 Mar 2024 15:28:05 +0800 Subject: [PATCH] =?UTF-8?q?en:=20=E7=94=A8=E6=88=B7=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E7=A9=BA=E6=8A=95=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/app/service/share.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/service/share.go b/internal/app/service/share.go index 1598eab..0e20a21 100644 --- a/internal/app/service/share.go +++ b/internal/app/service/share.go @@ -107,7 +107,7 @@ func (s *Service) AirdropCallback(c *gin.Context, req request.AirdropCallbackReq return errors.New("校验失败") } - if req.Status == 2 { + if req.Status == 2 && req.Msg != "already claimed" { s.dao.AirdropFailNotice(req.Receiver, req.TokenId, req.Msg) return }