mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 06:50:51 +00:00
客服页面退款订单显示问题修复
This commit is contained in:
parent
14a6c12b2d
commit
50a2a00557
@ -67,7 +67,15 @@ class Order extends AuthController
|
||||
if (!$services->count(['to_uid' => $uid])) {
|
||||
return app('json')->fail(410092);
|
||||
}
|
||||
return app('json')->success($this->services->getOrderApiList($where));
|
||||
if ($where['status'] == -1) {
|
||||
unset($where['status']);
|
||||
$where['is_cancel'] = 0;
|
||||
$refundServices = app()->make(StoreOrderRefundServices::class);
|
||||
$data = $refundServices->refundList($where)['list'];
|
||||
} else {
|
||||
$data = $this->services->getOrderApiList($where);
|
||||
}
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user