去除控制台错误打印
This commit is contained in:
parent
86af800c7c
commit
45bc1e9cf0
|
@ -56,7 +56,6 @@ func ALiH5PayInfo(c context.Context, payOrderRequest PayOrderRequest) (string, e
|
||||||
// 初始化支付宝客户端
|
// 初始化支付宝客户端
|
||||||
aliClient, err := AliInitClient(payOrderRequest.Ali)
|
aliClient, err := AliInitClient(payOrderRequest.Ali)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed to get client:", err)
|
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
// 初始化 BodyMap
|
// 初始化 BodyMap
|
||||||
|
@ -133,7 +132,6 @@ func ALiOrderQuery(ctx context.Context, aliConfig AliPay, OrderNo string) (PayOr
|
||||||
// 初始化支付宝客户端
|
// 初始化支付宝客户端
|
||||||
aliClient, err := AliInitClient(aliConfig)
|
aliClient, err := AliInitClient(aliConfig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed to get client:", err)
|
|
||||||
return PayOrderQueryInfo{}, err
|
return PayOrderQueryInfo{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +192,6 @@ func AliRefundOrder(ctx context.Context, orderRefundRequest OrderRefundRequest)
|
||||||
// 初始化支付宝客户端
|
// 初始化支付宝客户端
|
||||||
aliClient, err := AliInitClient(orderRefundRequest.Ali)
|
aliClient, err := AliInitClient(orderRefundRequest.Ali)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed to get client:", err)
|
|
||||||
return OrderRefundInfo{}, err
|
return OrderRefundInfo{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +230,6 @@ func AliRefundOrderQuery(ctx context.Context, orderRefundQueryRequest OrderRefun
|
||||||
// 初始化支付宝客户端
|
// 初始化支付宝客户端
|
||||||
aliClient, err := AliInitClient(orderRefundQueryRequest.Ali)
|
aliClient, err := AliInitClient(orderRefundQueryRequest.Ali)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed to get client:", err)
|
|
||||||
return OrderRefundInfo{}, err
|
return OrderRefundInfo{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -269,7 +265,6 @@ func AliCloseOrder(ctx context.Context, orderCloseRequest OrderCloseRequest) (Or
|
||||||
// 初始化支付宝客户端
|
// 初始化支付宝客户端
|
||||||
aliClient, err := AliInitClient(orderCloseRequest.Ali)
|
aliClient, err := AliInitClient(orderCloseRequest.Ali)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed to get client:", err)
|
|
||||||
return OrderCloseInfo{}, err
|
return OrderCloseInfo{}, err
|
||||||
}
|
}
|
||||||
// 请求参数
|
// 请求参数
|
||||||
|
|
Loading…
Reference in New Issue