Commit 15acc8c9 authored by hujiebin's avatar hujiebin

赠送背包礼物

parent 0fa7b365
......@@ -109,6 +109,7 @@ const (
GroupActivityRewardMsg = 38 // 群组活动钻石奖励提醒
TemplateActAwardMsg = 39 // 通用模板活动奖励提醒
TemplateSmsCode = 40 // 通用模板活动奖励提醒
AddUserBag = 50 // 赠送背包礼物
)
type MsgSysUserType = mysql.Type
......
......@@ -33,7 +33,7 @@ func UserBagSendEvent() {
if err != nil {
return err
}
if err := msg_m.NewUserRecord(model, e.UserId, msg_e.AddProps,
if err := msg_m.NewUserRecord(model, e.UserId, msg_e.AddUserBag,
"", 0, "", fmt.Sprintf("%d", e.Day),
gift.IconUrl, "", "").Persistent(); err != nil {
model.Log.Errorf("NewUserRecord fail")
......
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