Commit d355d158 authored by hangjun83's avatar hangjun83

罗恩工具类更新

parent 49f08c4b
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
namespace App\Services; namespace App\Services;
use App\Jobs\RhawnSorderRefundJob; use App\Jobs\RhawnSorderRefundJob;
use App\Repositories\Contracts\BhPordersRepository;
use App\Repositories\Contracts\BhSordersRepository;
use App\Repositories\Contracts\RhawnSoitemsRepository; use App\Repositories\Contracts\RhawnSoitemsRepository;
use App\Repositories\Contracts\RhawnSorderRefundRepository; use App\Repositories\Contracts\RhawnSorderRefundRepository;
use App\Repositories\Contracts\RhawnSordersRepository; use App\Repositories\Contracts\RhawnSordersRepository;
...@@ -779,7 +777,7 @@ class RhawnOrdersService ...@@ -779,7 +777,7 @@ class RhawnOrdersService
if($sOrderDetail['so_pay_status'] > 0){ if($sOrderDetail['so_pay_status'] > 0){
//得到退款金额 //得到退款金额
$sOrder = app(BhSordersRepository::class)->find($sOrderItem['so_id']); $sOrder = app(RhawnSordersRepository::class)->find($sOrderItem['so_id']);
if (!$sOrder) { if (!$sOrder) {
throw new \LogicException('数据不存在!', 500); throw new \LogicException('数据不存在!', 500);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment