From 569ed8b46fea1f256d281ae761f4f0734a7a0f44 Mon Sep 17 00:00:00 2001 From: hitsword Date: Mon, 20 May 2019 18:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=AE=8C=E6=88=90=E3=80=82TO?= =?UTF-8?q?DO=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hitsword --- class-wc-huayi-score.php | 2 +- includes/huayi-score-sdk.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/class-wc-huayi-score.php b/class-wc-huayi-score.php index e31c63d..c9b821d 100644 --- a/class-wc-huayi-score.php +++ b/class-wc-huayi-score.php @@ -204,7 +204,7 @@ class WC_Huayi_Score extends WC_Payment_Gateway { return; } - if ( $result['data']['refund_status'] == 'success' ) {//TODO TEST + if ( $result['data']['refund_status'] == 'success' ) { $order->add_order_note( sprintf( __( '退还时间: %s - 退还会员ID: %s', 'huayi_score' ), date("Y-m-d H:i:s"),$result['uid'] ) ); return true; } else { diff --git a/includes/huayi-score-sdk.php b/includes/huayi-score-sdk.php index 920c407..43ba2ba 100644 --- a/includes/huayi-score-sdk.php +++ b/includes/huayi-score-sdk.php @@ -52,7 +52,7 @@ class HuayiScoreSdk } /** - * TODO TEST + * PASS * 支出积分 * @param $huayi_uid * @param $amount @@ -81,7 +81,7 @@ class HuayiScoreSdk } /** - * TODO TEST + * PASS * 退还积分 * @param $huayi_uid * @param $amount