失败订单

This commit is contained in:
“wanyongkang”
2021-06-02 16:57:22 +08:00
parent f6a655bb67
commit 0e7a43a9f4

View File

@@ -41,14 +41,14 @@ class Failed extends Controller
$where['Remark'] = ['like','%失败%'];
$productOrder = new ProductOrder;
$list = $productOrder->getListPage($where, '*', 'id desc', "$page,50");
$list = $productOrder->getListPage($where, '*', 'id desc', "0,50");
$data = [
'Code' => 10000,
'Data' => $list,
'Message' => '',
'TotalCount' => (int)$productOrder->getCount(['Remark'=>['like','%失败%']])['count'],
'TotalCount' => 50
];
echo json_encode($data);
}