From df2f13c58ba4c5129d6d079df42e530b2d12a4c8 Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Wed, 26 Aug 2020 10:40:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=80=80=E6=AC=BE--=E4=BF=AE?= =?UTF-8?q?=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/PurchaseLimitService.php | 2 +- app/Service/WxRefundService.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Service/PurchaseLimitService.php b/app/Service/PurchaseLimitService.php index dc7271d..2a3abeb 100644 --- a/app/Service/PurchaseLimitService.php +++ b/app/Service/PurchaseLimitService.php @@ -65,7 +65,7 @@ class PurchaseLimitService implements PurchaseLimitServiceInterface ->toArray(); foreach ($goods as $k2 => $v2) { - $ssdb->exec('del', SsdbKeysPrefix::PURCHASE_RECORD. date('Ymd') .'_'.$v1['user_id'].'_'.$v2['good_id'], $global_order_id); + $ssdb->exec('del', SsdbKeysPrefix::PURCHASE_RECORD. date('Ymd') .'_'.$v1['user_id'].'_'.$v2['good_id'], $order->global_order_id); var_dump($v1['user_id']); var_dump($v1['good_id']); } diff --git a/app/Service/WxRefundService.php b/app/Service/WxRefundService.php index 4ab53e2..bbd2dd6 100644 --- a/app/Service/WxRefundService.php +++ b/app/Service/WxRefundService.php @@ -7,6 +7,7 @@ use EasyWeChat\Factory; use Hyperf\DbConnection\Db; use App\Constants\ErrorCode; use App\Commons\Log; +use Hyperf\Di\Annotation\Inject; class WxRefundService implements WxRefundServiceInterface {