Commit 390fb167 authored by hujiebin's avatar hujiebin

panic 保护

parent 1a8193fd
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment