1
This commit is contained in:
parent
04d165a708
commit
37d2b55dfb
@ -6,6 +6,7 @@ import (
|
|||||||
"github.com/wechatpay-apiv3/wechatpay-go/core"
|
"github.com/wechatpay-apiv3/wechatpay-go/core"
|
||||||
"github.com/wechatpay-apiv3/wechatpay-go/services/payments/app"
|
"github.com/wechatpay-apiv3/wechatpay-go/services/payments/app"
|
||||||
"github.com/wechatpay-apiv3/wechatpay-go/services/payments/jsapi"
|
"github.com/wechatpay-apiv3/wechatpay-go/services/payments/jsapi"
|
||||||
|
"hepa-calc-api/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -77,6 +78,7 @@ func (r JsapiRequest) GetJsapiPrepay() (prepay *jsapi.PrepayWithRequestPaymentRe
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
utils.LogJsonInfo("发起支付", *result)
|
||||||
if result.Response.StatusCode != 200 {
|
if result.Response.StatusCode != 200 {
|
||||||
return nil, errors.New("发起支付失败")
|
return nil, errors.New("发起支付失败")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user