Commit 539c39f3 authored by wwccw0591's avatar wwccw0591

test

parent c6837123
......@@ -20,7 +20,9 @@ class OrderController extends \Our\Controller_AbstractApi {
}
$keyword=$this->req[\Our\NameConst::data]['keyword']?$this->req[\Our\NameConst::data]['keyword']:FAlSE;
$orders=$orderService->getList($this->memberId,$keyword,$pageIndex,$pageSize,$orderState);
if(!empty($returnData)){
throw new \Exception(json_encode($returnData));
}
$this->success($orders);
}
......
......@@ -414,9 +414,6 @@ class OrderServiceModel extends \Business\AbstractModel
}
$returnData['orders'] = $orderMerge;
$returnData['totalCount'] = $orders['totalCount'];
if(!empty($returnData)){
throw new \Exception(json_encode($returnData));
}
return $returnData;
} else {
return Array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment