后台补单log
This commit is contained in:
parent
f4964a57a2
commit
7d0d5e9509
|
@ -2257,11 +2257,13 @@ func init() {
|
|||
|
||||
state = msg.GetState()
|
||||
player := PlayerMgrSington.GetPlayerBySnId(info.SnId)
|
||||
logger.Logger.Info("CallbackPayment player", player)
|
||||
if player == nil {
|
||||
if msg.State == 1 {
|
||||
state = 3
|
||||
}
|
||||
}
|
||||
logger.Logger.Info("------------CallbackPayment state----------", state)
|
||||
task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} {
|
||||
err := model.UpdateDbShopState(msg.Platform, msg.OrderId, state)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue