wechatNotify
This commit is contained in:
parent
323691d061
commit
17ba4bc361
|
|
@ -34,7 +34,7 @@ func NewHTTPServer(
|
||||||
return ctx.String(http2.StatusOK, "pong")
|
return ctx.String(http2.StatusOK, "pong")
|
||||||
})
|
})
|
||||||
|
|
||||||
r.POST("wechatNotify", voucherService.WechatNotify)
|
r.POST("/wechatNotify", voucherService.WechatNotify)
|
||||||
|
|
||||||
cmb := r.Group("/cmb")
|
cmb := r.Group("/cmb")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ func (v *VoucherService) WechatNotify(ctx http.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Warnf("bodyBytes: %s", bodyBytes)
|
log.Warnf("微信回调通知bodyBytes: %s", bodyBytes)
|
||||||
|
|
||||||
return ctx.JSON(200, "ok")
|
return ctx.JSON(200, "ok")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue