Commit 8bb6febe authored by clone's avatar clone

bug

parent f346915f
......@@ -61,12 +61,10 @@ class LookShop extends Basic
$result = $this->tLookShopModel->getList($condition, $field, $pageNo, $pageSize);
$total = $this->tLookShopModel->getListCount($condition, $field);
if (count($result) > 0) {
$list["list"] = $result;
$list["total"] = $total;
return $this->response("200", "success", $list);
}
return $this->response("101", "null");
$list["list"] = $result;
$list["total"] = $total;
return $this->response("200", "success", $list);
}
}
\ No newline at end of file
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