From 390fb1675cd108e11d17c0f8dad56660f6867718 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 23 Mar 2023 16:20:03 +0800 Subject: [PATCH] =?UTF-8?q?panic=20=E4=BF=9D=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txop/bag_tx/user_bag.go | 1 + 1 file changed, 1 insertion(+) diff --git a/txop/bag_tx/user_bag.go b/txop/bag_tx/user_bag.go index 25294ac..702a256 100644 --- a/txop/bag_tx/user_bag.go +++ b/txop/bag_tx/user_bag.go @@ -68,6 +68,7 @@ func SendUserBag(txModel *domain.Model, userId mysql.ID, resType mysql.Type, res gift, err := res_m.FindResGift(model, resId) if err != nil { model.Log.Errorf("res_m.FindResGift fail:%v", err) + return } if err := msg_m.NewUserRecord(model, userId, msg_e.AddUserBag, gift.Name, 0, "", fmt.Sprintf("%d", day), -- 2.22.0