Commit 302e59d3 authored by ZhuChunYang's avatar ZhuChunYang

update

parent f1ecef2b
...@@ -168,7 +168,7 @@ class CoinController extends BaseController ...@@ -168,7 +168,7 @@ class CoinController extends BaseController
$limit = $request->post('limit', 10); $limit = $request->post('limit', 10);
$platform_ids = $request->post('platform_id', null); $platform_ids = $request->post('platform_id', null);
$condition = [['!=', 'chain', 'other']]; $condition = [['in', 'chain', ['ETH','DCR','BTC','BTY']]];
if (!empty($name)) { if (!empty($name)) {
$condition[] = ['or',['address' => $name],['or', ['like', 'name', $name], ['like', 'nickname', $name]]]; $condition[] = ['or',['address' => $name],['or', ['like', 'name', $name], ['like', 'nickname', $name]]];
} }
......
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