fix 订单发货重复
This commit is contained in:
parent
00759f960c
commit
2f9f2513c6
|
@ -2272,7 +2272,7 @@ func init() {
|
|||
state = msg.GetState()
|
||||
player := PlayerMgrSington.GetPlayerBySnId(info.SnId)
|
||||
logger.Logger.Info("CallbackPayment player", player)
|
||||
if player == nil || (player != nil && player.IsOffline()) {
|
||||
if player == nil || player.IsOffline() {
|
||||
if msg.State == 1 {
|
||||
state = 3
|
||||
}
|
||||
|
@ -2290,7 +2290,7 @@ func init() {
|
|||
retFail("购买记录状态修改失败")
|
||||
return
|
||||
}
|
||||
if player != nil || (player != nil && player.IsOffline()) {
|
||||
if player != nil && !player.IsOffline() {
|
||||
player.DoShopInfo(info, false)
|
||||
// 邀请积分
|
||||
InviteTask(msg.Platform, player.PSnId, info.SnId, common.InviteScoreTypePay, int64(info.ConsumeNum))
|
||||
|
|
Loading…
Reference in New Issue