Commit 2b357492 authored by wwccw0591's avatar wwccw0591

test

parent 539c39f3
......@@ -20,8 +20,8 @@ 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));
if(!empty($keyword)){
throw new \Exception(json_encode($orders));
}
$this->success($orders);
......
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