Commit b7ec991d authored by ZhuChunYang's avatar ZhuChunYang

update

parent c4978683
......@@ -265,7 +265,7 @@ class CoinController extends BaseController
}
$result = ExchangeBusiness::SearchByName($page, $limit, $condition);
if (empty($result)) {
return [];
return ['code' => 0, 'count' => 0, 'data' => []];
}
$total = $result['total'];
$result = $result['data'];
......
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