Commit 62980e25 authored by shajiaiming's avatar shajiaiming

fix

parent 14cbbcef
......@@ -128,8 +128,9 @@ class CoinController extends BaseController
$limit = $request->post('limit', 999);
$platform_id = $request->post('platform_id', 1);//默认币钱包
$recommend = $request->post('recommend', '');
$type = $request->post('type', 1);
$chain = $request->post('chain', '');
$condition = ['platform_id' => $platform_id, 'type' => 1];
$condition = ['platform_id' => $platform_id, 'type' => $type];
if ($recommend) {
$condition['recommend'] = $recommend;
}
......
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