diff --git a/app/third/paymentService/ali_service.go b/app/third/paymentService/ali_service.go index 76faa56..2d4c56b 100644 --- a/app/third/paymentService/ali_service.go +++ b/app/third/paymentService/ali_service.go @@ -56,7 +56,6 @@ func ALiH5PayInfo(c context.Context, payOrderRequest PayOrderRequest) (string, e // 初始化支付宝客户端 aliClient, err := AliInitClient(payOrderRequest.Ali) if err != nil { - fmt.Println("Failed to get client:", err) return "", err } // 初始化 BodyMap @@ -133,7 +132,6 @@ func ALiOrderQuery(ctx context.Context, aliConfig AliPay, OrderNo string) (PayOr // 初始化支付宝客户端 aliClient, err := AliInitClient(aliConfig) if err != nil { - fmt.Println("Failed to get client:", err) return PayOrderQueryInfo{}, err } @@ -194,7 +192,6 @@ func AliRefundOrder(ctx context.Context, orderRefundRequest OrderRefundRequest) // 初始化支付宝客户端 aliClient, err := AliInitClient(orderRefundRequest.Ali) if err != nil { - fmt.Println("Failed to get client:", err) return OrderRefundInfo{}, err } @@ -233,7 +230,6 @@ func AliRefundOrderQuery(ctx context.Context, orderRefundQueryRequest OrderRefun // 初始化支付宝客户端 aliClient, err := AliInitClient(orderRefundQueryRequest.Ali) if err != nil { - fmt.Println("Failed to get client:", err) return OrderRefundInfo{}, err } @@ -269,7 +265,6 @@ func AliCloseOrder(ctx context.Context, orderCloseRequest OrderCloseRequest) (Or // 初始化支付宝客户端 aliClient, err := AliInitClient(orderCloseRequest.Ali) if err != nil { - fmt.Println("Failed to get client:", err) return OrderCloseInfo{}, err } // 请求参数