Commit e00df676 authored by rlgy's avatar rlgy

搜索币不返回other

parent 1aa6cdd3
......@@ -98,7 +98,7 @@ class CoinController extends BaseController
$page = $request->post('page', 1);
$limit = $request->post('limit', 10);
if ($name) {
$condition = [['or', ['like', 'name', $name], ['like', 'nickname', $name]]];
$condition = [['!=', 'chain', 'other'], ['or', ['like', 'name', $name], ['like', 'nickname', $name]]];
return ExchangeBusiness::SearchByName($page, $limit, $condition);
}
}
......
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