兑换记录BUG修改
This commit is contained in:
parent
a49b02d3a9
commit
b5099d9c37
|
@ -626,9 +626,11 @@ func CSDollChange(s *netlib.Session, packetid int, data interface{}, sid int64)
|
|||
})
|
||||
logger.Logger.Trace("背包内使用兑换娃娃卡 bagInfo = ", bagInfo)
|
||||
pack.RetCode = rest
|
||||
|
||||
if isF {
|
||||
itemId := item.ItemId
|
||||
task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} {
|
||||
dollLog := model.NewDbBagChangeDoll(p.Platform, p.SnId, item.ItemId, 1, 0, "", msg.Addr, msg.UserName, msg.UserTel)
|
||||
dollLog := model.NewDbBagChangeDoll(p.Platform, p.SnId, itemId, 1, 0, "", msg.Addr, msg.UserName, msg.UserTel)
|
||||
return model.InsertDbBagChangeDollLog(dollLog)
|
||||
}), task.CompleteNotifyWrapper(func(data interface{}, t task.Task) {
|
||||
if data != nil {
|
||||
|
|
Loading…
Reference in New Issue