商城购买房卡
This commit is contained in:
parent
4b7c552524
commit
63387ba9b4
|
|
@ -682,9 +682,9 @@ func (this *Scene) OnClose() {
|
|||
}
|
||||
this.Broadcast(int(hallproto.GameHallPacketID_PACKET_SC_DESTROYROOM), scDestroyRoom, 0)
|
||||
|
||||
this.sp.OnStop(this)
|
||||
this.deleting = true
|
||||
this.closed = true
|
||||
this.sp.OnStop(this)
|
||||
|
||||
for _, p := range this.players {
|
||||
this.DelPlayer(p)
|
||||
|
|
|
|||
|
|
@ -1228,7 +1228,7 @@ func (this *ShopMgr) SendAPICreateOrder(p *Player, ConfigPayId int32, data any,
|
|||
return nil
|
||||
}
|
||||
return webapi.API_CreateOrder(common.GetAppId(), dbShop.LogId.Hex(), ConfigPayId, p.SnId, shopInfo.Id, p.Platform, p.PackageID, p.DeviceOS,
|
||||
p.DeviceId, shopInfo.Name, [ShopTypeItem]int32{0, int32(shopInfo.AmountFinal), 0}, costNum, webItemInfo, "", p.Channel, p.ChannelId)
|
||||
p.DeviceId, shopInfo.Name, amount, costNum, webItemInfo, "", p.Channel, p.ChannelId)
|
||||
|
||||
} else if cdata, ok := data.(*ExchangeShopInfo); ok {
|
||||
var info *shop.ExchangeType
|
||||
|
|
|
|||
Loading…
Reference in New Issue