Commit 02563dfc authored by shajiaiming's avatar shajiaiming

fix

parent 080c5e4f
...@@ -61,7 +61,7 @@ class CoinController extends BaseController ...@@ -61,7 +61,7 @@ class CoinController extends BaseController
if (!is_array($names)) { if (!is_array($names)) {
$names = [$names]; $names = [$names];
} }
$condition = [['in', 'name', $names]]; $condition = $names;
$fields = ['id', 'sid', 'icon', 'name', 'nickname', 'platform', 'chain','address as contract_address','introduce']; $fields = ['id', 'sid', 'icon', 'name', 'nickname', 'platform', 'chain','address as contract_address','introduce'];
$result = ExchangeBusiness::getApiListForIndex(1, 999, $condition,$fields); $result = ExchangeBusiness::getApiListForIndex(1, 999, $condition,$fields);
if ($result) { if ($result) {
......
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