Compare commits

...

2 Commits

Author SHA1 Message Date
sk 6554f55c04 fix 龙底注 2025-01-09 17:07:47 +08:00
sk 2f9f2513c6 fix 订单发货重复 2025-01-09 15:59:26 +08:00
3 changed files with 15 additions and 15 deletions

View File

@ -49,79 +49,79 @@ func init() {
FortuneDragonBetBetChangeList = map[int64]*structs.FortuneDragonBetBetChangeList{ FortuneDragonBetBetChangeList = map[int64]*structs.FortuneDragonBetBetChangeList{
0: { 0: {
Index: 0, Index: 0,
BetChangeList: 30000, BetChangeList: 15000,
BetSizeIndex: 0, BetSizeIndex: 0,
BetLevelIndex: 0, BetLevelIndex: 0,
}, },
1: { 1: {
Index: 1, Index: 1,
BetChangeList: 60000, BetChangeList: 30000,
BetSizeIndex: 0, BetSizeIndex: 0,
BetLevelIndex: 1, BetLevelIndex: 1,
}, },
2: { 2: {
Index: 2, Index: 2,
BetChangeList: 90000, BetChangeList: 45000,
BetSizeIndex: 0, BetSizeIndex: 0,
BetLevelIndex: 2, BetLevelIndex: 2,
}, },
3: { 3: {
Index: 3, Index: 3,
BetChangeList: 100000, BetChangeList: 50000,
BetSizeIndex: 1, BetSizeIndex: 1,
BetLevelIndex: 0, BetLevelIndex: 0,
}, },
4: { 4: {
Index: 4, Index: 4,
BetChangeList: 150000, BetChangeList: 75000,
BetSizeIndex: 0, BetSizeIndex: 0,
BetLevelIndex: 4, BetLevelIndex: 4,
}, },
5: { 5: {
Index: 5, Index: 5,
BetChangeList: 300000, BetChangeList: 150000,
BetSizeIndex: 0, BetSizeIndex: 0,
BetLevelIndex: 9, BetLevelIndex: 9,
}, },
6: { 6: {
Index: 6, Index: 6,
BetChangeList: 500000, BetChangeList: 250000,
BetSizeIndex: 1, BetSizeIndex: 1,
BetLevelIndex: 4, BetLevelIndex: 4,
}, },
7: { 7: {
Index: 7, Index: 7,
BetChangeList: 900000, BetChangeList: 450000,
BetSizeIndex: 3, BetSizeIndex: 3,
BetLevelIndex: 0, BetLevelIndex: 0,
}, },
8: { 8: {
Index: 8, Index: 8,
BetChangeList: 1000000, BetChangeList: 500000,
BetSizeIndex: 1, BetSizeIndex: 1,
BetLevelIndex: 9, BetLevelIndex: 9,
}, },
9: { 9: {
Index: 9, Index: 9,
BetChangeList: 1500000, BetChangeList: 750000,
BetSizeIndex: 2, BetSizeIndex: 2,
BetLevelIndex: 4, BetLevelIndex: 4,
}, },
10: { 10: {
Index: 10, Index: 10,
BetChangeList: 3000000, BetChangeList: 1500000,
BetSizeIndex: 2, BetSizeIndex: 2,
BetLevelIndex: 9, BetLevelIndex: 9,
}, },
11: { 11: {
Index: 11, Index: 11,
BetChangeList: 4500000, BetChangeList: 2250000,
BetSizeIndex: 3, BetSizeIndex: 3,
BetLevelIndex: 4, BetLevelIndex: 4,
}, },
12: { 12: {
Index: 12, Index: 12,
BetChangeList: 9000000, BetChangeList: 4500000,
BetSizeIndex: 3, BetSizeIndex: 3,
BetLevelIndex: 9, BetLevelIndex: 9,
}, },

View File

@ -2272,7 +2272,7 @@ func init() {
state = msg.GetState() state = msg.GetState()
player := PlayerMgrSington.GetPlayerBySnId(info.SnId) player := PlayerMgrSington.GetPlayerBySnId(info.SnId)
logger.Logger.Info("CallbackPayment player", player) logger.Logger.Info("CallbackPayment player", player)
if player == nil || (player != nil && player.IsOffline()) { if player == nil || player.IsOffline() {
if msg.State == 1 { if msg.State == 1 {
state = 3 state = 3
} }
@ -2290,7 +2290,7 @@ func init() {
retFail("购买记录状态修改失败") retFail("购买记录状态修改失败")
return return
} }
if player != nil || (player != nil && player.IsOffline()) { if player != nil && !player.IsOffline() {
player.DoShopInfo(info, false) player.DoShopInfo(info, false)
// 邀请积分 // 邀请积分
InviteTask(msg.Platform, player.PSnId, info.SnId, common.InviteScoreTypePay, int64(info.ConsumeNum)) InviteTask(msg.Platform, player.PSnId, info.SnId, common.InviteScoreTypePay, int64(info.ConsumeNum))