Commit a871782e authored by ZhuChunYang's avatar ZhuChunYang

支持合约地址搜索币

parent d6bc3581
...@@ -171,7 +171,7 @@ class CoinController extends BaseController ...@@ -171,7 +171,7 @@ class CoinController extends BaseController
$condition = [['!=', 'chain', 'other']]; $condition = [['!=', 'chain', 'other']];
if (!empty($name)) { if (!empty($name)) {
$condition[] = ['or', ['like', 'name', $name], ['like', 'nickname', $name]]; $condition[] = ['or',['address' => $name],['or', ['like', 'name', $name], ['like', 'nickname', $name]]];
} }
if ($platform_ids) { if ($platform_ids) {
$platform_id_arr = explode(',', $platform_ids); $platform_id_arr = explode(',', $platform_ids);
......
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