兑换自提 添加道具走后台
This commit is contained in:
parent
f95eb75eb8
commit
478ab9ea0a
|
|
@ -278,7 +278,7 @@ func (this *CSShopExchangeHandler) Process(s *netlib.Session, packetid int, data
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
switch msg.ExchangeType {
|
/* switch msg.ExchangeType {
|
||||||
case 1: // 自提
|
case 1: // 自提
|
||||||
//自提 直接增加道具到背包
|
//自提 直接增加道具到背包
|
||||||
cdata := ShopMgrSington.GetExchangeData(p.Platform, msg.GoodsId)
|
cdata := ShopMgrSington.GetExchangeData(p.Platform, msg.GoodsId)
|
||||||
|
|
@ -294,7 +294,7 @@ func (this *CSShopExchangeHandler) Process(s *netlib.Session, packetid int, data
|
||||||
})
|
})
|
||||||
BagMgrSingleton.AddItems(p, items, 0, common.GainWay_Exchange, "system", "商城兑换", 0, 0, false)
|
BagMgrSingleton.AddItems(p, items, 0, common.GainWay_Exchange, "system", "商城兑换", 0, 0, false)
|
||||||
default:
|
default:
|
||||||
}
|
}*/
|
||||||
|
|
||||||
_, f := BlackListMgrSington.CheckExchange(p.PlayerData)
|
_, f := BlackListMgrSington.CheckExchange(p.PlayerData)
|
||||||
if !f {
|
if !f {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue