Commit 050fbcf3 authored by shajiaiming's avatar shajiaiming

fix

parent 10a94036
...@@ -273,6 +273,7 @@ class CoinController extends BaseController ...@@ -273,6 +273,7 @@ class CoinController extends BaseController
public function actionSearch() public function actionSearch()
{ {
$count = 0;
$params = Yii::$app->request->post(); $params = Yii::$app->request->post();
$chain = isset($params['chain']) ? $params['chain'] : ''; $chain = isset($params['chain']) ? $params['chain'] : '';
$keyword = isset($params['keyword']) ? $params['keyword'] : ''; $keyword = isset($params['keyword']) ? $params['keyword'] : '';
...@@ -283,7 +284,6 @@ class CoinController extends BaseController ...@@ -283,7 +284,6 @@ class CoinController extends BaseController
$limit = empty($params['limit']) ? 10 : $params['limit']; $limit = empty($params['limit']) ? 10 : $params['limit'];
if (false == $platform_id) { if (false == $platform_id) {
$msg = '参数错误';
$code = -1; $code = -1;
$data = null; $data = null;
goto doEnd; goto doEnd;
......
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