Browse Source

订单退款--修改2

master
liangyuyan 5 years ago
parent
commit
df2f13c58b
  1. 2
      app/Service/PurchaseLimitService.php
  2. 1
      app/Service/WxRefundService.php

2
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']);
}

1
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
{

Loading…
Cancel
Save