Browse Source

no message

xingzai 8 months ago
parent
commit
f5022726f6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/wechat.go

+ 3 - 0
controllers/wechat.go

@@ -472,7 +472,10 @@ func (this *WechatCommonController) WxpayNotify() {
 
 	if itemNotify.OutTradeNo != "" {
 		go services.HandleOrderByWechatPay(itemNotify)
+		item.Url = itemNotify.OutTradeNo // 记录一下同一笔订单微信推送了几次
+		go models.AddCygxShanghaiCompanyLog(item)
 	}
+
 	resp.Code = "SUCCESS"
 	br.Data = resp
 	br.Ret = 200