diff --git a/txop/bag_tx/user_bag.go b/txop/bag_tx/user_bag.go index 25294ac511a6f3ab03221efaa7fee890b4839df8..702a256d0187d1ea6d531adff510d447b25bafd2 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),