浏览代码

no message

xingzai 11 月之前
父节点
当前提交
c447289860
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      controllers/wechat.go

+ 3 - 3
controllers/wechat.go

@@ -458,7 +458,7 @@ func (this *WechatCommonController) WxpayNotify() {
 	item.CreateTime = time.Now()
 	//item.Body = jsonCompany
 	item.Result = string(body)
-	//go models.AddCygxShanghaiCompanyLog(item)
+	go models.AddCygxShanghaiCompanyLog(item)
 	itemNotify := services.WxDecodeNotify(body)
 	if itemNotify.OutTradeNo != "" {
 		go services.HandleOrderHandle(itemNotify)
@@ -468,8 +468,8 @@ func (this *WechatCommonController) WxpayNotify() {
 	br.Success = true
 }
 
-// @Title 微信款回调接口
-// @Description 微信款回调接口
+// @Title 微信退款回调接口
+// @Description 微信退款回调接口
 // @Success 200 {object} models.WxLoginResp
 // @router /wxpay/refunds/notify [post]
 func (this *WechatCommonController) WxpayRefundsNotify() {