f
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
"qnc-server/app/main/api/internal/service"
|
||||
"qnc-server/app/main/api/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
||||
@@ -61,6 +62,9 @@ func (l *XpayPushLogic) HandlePOST(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
ctx := r.Context()
|
||||
logx.WithContext(ctx).Infof("[xpay:push] recv event=%s order_no=%s openid=%s env=%d body=%s",
|
||||
notify.Event, orderNo, notify.OpenId, notify.Env, string(body))
|
||||
|
||||
already, _ := l.svcCtx.XpayService.AlreadyNotified(ctx, orderNo)
|
||||
if already {
|
||||
l.writePushResp(w, 0, "already notified")
|
||||
|
||||
Reference in New Issue
Block a user