充值增加log
This commit is contained in:
parent
7d6ee4c3bd
commit
db24cf0620
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue