充值增加log

This commit is contained in:
by 2024-12-13 17:53:13 +08:00
parent 7d6ee4c3bd
commit db24cf0620
1 changed files with 2 additions and 1 deletions

View File

@ -2215,7 +2215,7 @@ func init() {
msg := &webapiproto.ASCallbackPayment{}
pack := &webapiproto.SACallbackPayment{}
err := proto.Unmarshal(params, msg)
logger.Logger.Trace("api /api/pay/CallbackPayment msg = ", msg)
logger.Logger.Info("api /api/pay/CallbackPayment msg = ", msg)
if err != nil {
pack.Tag = webapiproto.TagCode_FAILED
pack.Msg = "数据序列化失败" + err.Error()
@ -2262,6 +2262,7 @@ func init() {
state = 3
}
}
logger.Logger.Info("api /api/pay/CallbackPayment state = ", state)
task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} {
err := model.UpdateDbShopState(msg.Platform, msg.OrderId, state)
if err != nil {