提交 f38c8611 authored 作者: 屈传平's avatar 屈传平

Merge branch 'featrue/hdh'

......@@ -237,8 +237,12 @@ func GetGoodsInfo(ctx context.Context, req *GoodsInfoReq) (res *GoodsInfoRes, er
//商品回调
func GoodsCallBack(r *ghttp.Request) (res *GoodsNotifyRes, err error) {
body, err := CheckSign(r)
if nil != err {
//body, err := CheckSign(r)
//if nil != err {
// return
//}
body := r.GetBodyString()
if body == "" {
return
}
//err = json.Unmarshal([]byte(body), &res)
......
......@@ -81,8 +81,12 @@ func OrderCreate(ctx context.Context, req *OerCreateReq) (res *OerCreateRes, err
//订单回调
func OrderCallBack(r *ghttp.Request) (res *OrderNotifyRes, err error) {
body, err := CheckSign(r)
if nil != err {
//body, err := CheckSign(r)
//if nil != err {
// return
//}
body := r.GetBodyString()
if body == "" {
return
}
err = json.Unmarshal([]byte(body), &res)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论