Compare commits

...

8 Commits
yyy ... master

Author SHA1 Message Date
aozhiwei
128038beda 1 2024-10-29 14:05:45 +08:00
aozhiwei
a4305759fc 1 2024-10-23 10:46:27 +08:00
aozhiwei
1622ca5f09 1 2024-08-30 15:25:17 +08:00
aozhiwei
4ad76b5aec 1 2024-08-27 14:08:39 +08:00
aozhiwei
521708177c 1 2024-08-20 14:29:41 +08:00
aozhiwei
09f2d92207 1 2024-08-20 14:24:36 +08:00
aozhiwei
1b5b5b63e0 1 2024-08-20 11:37:10 +08:00
aozhiwei
ac5a180cd1 1 2024-08-20 10:51:15 +08:00
3 changed files with 15 additions and 12 deletions

View File

@ -5,5 +5,5 @@
"game_start_notify_time": 20,
"delay_delete_time": 60,
"match_real_player": 1,
"circuit_mode_interval_time": 120
"circuit_mode_interval_time": 0
}

View File

@ -64,6 +64,11 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
userIdentity = passportAddress
accountId = service.GetAccountIdByAddress(passportAddress)
}
if returnContribution > 0.0 {
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution, payTime) != nil {
return true
}
}
if accountId == "" {
return true
}
@ -73,11 +78,6 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
if this.markOk(idx, accountId) != nil {
return true
}
if returnContribution > 0.0 {
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution, payTime) != nil {
return true
}
}
service.UserAddDiamond(accountId, diamond, netId, orderId)
return true
}

View File

@ -77,13 +77,16 @@ func (this *player) MarkMails(mails []common.Mail) error {
mi.expireTime = m.GetExpireTime()
this.inboxHash[mi.mailId] = mi
} else if mi.state != constant.INBOX_STATE_NONE {
err := model.Inbox.Mark(this.GetAccountId(), m.GetMailId(), nowTime, m.GetExpireTime())
if err != nil {
resultErr = err
break
if mi.state != constant.INBOX_STATE_DELETED &&
mi.state != constant.INBOX_STATE_RECEIVED {
err := model.Inbox.Mark(this.GetAccountId(), m.GetMailId(), nowTime, m.GetExpireTime())
if err != nil {
resultErr = err
break
}
mi.state = constant.INBOX_STATE_READ
mi.expireTime = m.GetExpireTime()
}
mi.state = constant.INBOX_STATE_READ
mi.expireTime = m.GetExpireTime()
}
}
}