no message
This commit is contained in:
parent
d3f276f0bf
commit
1db15bd6f3
|
@ -973,6 +973,7 @@ func (this *ShopMgr) Exchange(param *ExchangeParam) {
|
||||||
param.CallBackFunc(shop.OpResultCode_OPRC_Error)
|
param.CallBackFunc(shop.OpResultCode_OPRC_Error)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
logger.Logger.Tracef("API_CreateExchange: %v", as)
|
||||||
//dbShop
|
//dbShop
|
||||||
var ret shop.OpResultCode
|
var ret shop.OpResultCode
|
||||||
if as.Tag == webapi_proto.TagCode_SUCCESS {
|
if as.Tag == webapi_proto.TagCode_SUCCESS {
|
||||||
|
@ -1049,7 +1050,6 @@ func (this *ShopMgr) Exchange(param *ExchangeParam) {
|
||||||
ret = shop.OpResultCode_OPRC_ExchangeSoldOut
|
ret = shop.OpResultCode_OPRC_ExchangeSoldOut
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.Logger.Trace("API_CreateExchange: ", as.Tag, as.GetReturnCPO())
|
|
||||||
if len(itemInfo) > 0 {
|
if len(itemInfo) > 0 {
|
||||||
BagMgrSingleton.AddItemsOffline(&model.AddItemParam{
|
BagMgrSingleton.AddItemsOffline(&model.AddItemParam{
|
||||||
Platform: param.Platform,
|
Platform: param.Platform,
|
||||||
|
|
Loading…
Reference in New Issue