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 {