diff --git a/FlyCube/Api/Controller/CheckController.class.php b/FlyCube/Api/Controller/CheckController.class.php index d90a1db..238a162 100644 --- a/FlyCube/Api/Controller/CheckController.class.php +++ b/FlyCube/Api/Controller/CheckController.class.php @@ -184,7 +184,7 @@ class CheckController extends PublicController $where['order_sn'] = $_REQUEST['order_sn']; $where['shop_id'] = $_REQUEST['shop_id']; $where['openid'] = $this->openid; - $n = $orderDb->select(); + $n = $orderDb->where($where)->select(); echo json_encode(array('status' => 0, 'msg' => $n)); } /**