Commit f616f51e authored by shajiaming's avatar shajiaming

fix

parent 2767a3fe
......@@ -36,7 +36,7 @@ class MarketController extends BaseController
public function actionExchange()
{
$exchanges = Yii::$app->params['exchange'];
$exchanges = array_unique(Yii::$app->params['exchange']);
return ['code' => $this->code, 'msg' => $this->msg, 'data' => $exchanges];
}
......
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