='" . $date1 . "' and UpdateTime<='" . $date2 . "' "; } if (isset($_GET['ProductIds'])){ $where['ProductId'] = $_GET['ProductIds']; } $product_order_model = new PoductOrderModel; $product_order_enum = new ProductOrderEnum; $where['OrderType'] = $product_order_enum::$Refund; $list = $product_order_model->openGetList($where, 'CreateTime,ProductName,PackageName,ConnectCount*AccountCount ConnectCount,Accounts,RefundRestTime', 'CreateTime desc', "$page,50", $where2); $data = [ 'list' => $list, 'count' => $product_order_model->getCount($where) ]; \result($data); } }