Commit afda3df8 authored by chenweijian's avatar chenweijian

小助手

parent f53b7666
......@@ -23,10 +23,12 @@ func SendLittleAssistantMsg(model *domain.Model, userId mysql.ID, t msg_e.MsgUse
return err
}
}
if t > 0 {
if err = msg_m.NewUserRecord(model, user.ID, t, user.Nick, user.ID, diamondIncome, dayNum, propertyUrl, beanNum, groupCode).Persistent(); err != nil {
model.Log.Errorf("SendLittleAssistantMsg NewUserRecord err:%v", err)
return err
}
}
err = msg_m.SendEmasMsgAssistant(model, user.ExternalId, user.DeviceType)
if err != nil {
model.Log.Errorf("SendLittleAssistantMsg SendEmasMsgAssistant userId:%v, err:%v", userId, err)
......
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