后台增加添加道具接口
This commit is contained in:
parent
5eb29259c1
commit
f1308bbb09
|
|
@ -4538,6 +4538,7 @@ func init() {
|
|||
BagMgrSingleton.AddItems(p, items, 0, common.GainWay_Exchange, "system", "商城兑换", 0, 0, false)
|
||||
pack.Tag = webapiproto.TagCode_SUCCESS
|
||||
pack.Msg = "AddItem success"
|
||||
return common.ResponseTag_Ok, pack
|
||||
} else {
|
||||
BagMgrSingleton.AddItemsOffline(msg.Platform, msg.Snid, items, common.GainWay_Pay,
|
||||
"system", "", 0, 0, false, func(err error) {
|
||||
|
|
@ -4550,9 +4551,10 @@ func init() {
|
|||
}
|
||||
tNode.TransRep.RetFiels = pack
|
||||
tNode.Resume()
|
||||
|
||||
})
|
||||
return common.ResponseTag_TransactYield, pack
|
||||
}
|
||||
return common.ResponseTag_TransactYield, pack
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue