创建订单发送活动mq消息

This commit is contained in:
sk 2024-10-21 14:35:18 +08:00
parent 147f956857
commit 50e9d45693
1 changed files with 7 additions and 2 deletions

View File

@ -2,10 +2,14 @@ package webapi
import (
"errors"
"time"
"mongo.games.com/goserver/core/logger"
"mongo.games.com/game/model"
"mongo.games.com/game/mq"
"mongo.games.com/game/proto"
"mongo.games.com/game/protocol/webapi"
"mongo.games.com/goserver/core/logger"
"time"
)
type PlayerStatement struct {
@ -141,6 +145,7 @@ func API_CreateOrder(appId, orderId string, configid, SnId, shopId int32, platfo
logger.Logger.Error("API_CreateOrder Unmarshal err:", err)
return nil
}
mq.Write(model.GenerateActivityLog(SnId, platform, buyType, 0))
return ret
}