diff --git a/hyhproject/common/model/OrderRefunds.php b/hyhproject/common/model/OrderRefunds.php index 96e6147..47e3953 100755 --- a/hyhproject/common/model/OrderRefunds.php +++ b/hyhproject/common/model/OrderRefunds.php @@ -189,7 +189,7 @@ class OrderRefunds extends Base{ // } // // } - $object = $this->where('orderId', $id)->find(); + $object = $this->get($id); if(!$object){ return WSTReturn('未找到此订单(被删除无法找回的)'); }