Commit 65e75e82 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into develop

parents 61e3187d 09c85fb4
...@@ -35,6 +35,7 @@ class RecommendCoinController extends BaseController ...@@ -35,6 +35,7 @@ class RecommendCoinController extends BaseController
$recommend_coin = WalletRecommendCoin::find()->where(['category_id' => $category['id']])->all(); $recommend_coin = WalletRecommendCoin::find()->where(['category_id' => $category['id']])->all();
$items = []; $items = [];
foreach ($recommend_coin as $coin) { foreach ($recommend_coin as $coin) {
$temp['id'] = $coin->coin['id'];
$temp['icon'] = $coin->coin['icon']; $temp['icon'] = $coin->coin['icon'];
$temp['name'] = $coin->coin['name']; $temp['name'] = $coin->coin['name'];
$temp['platform'] = $coin->coin['platform']; $temp['platform'] = $coin->coin['platform'];
......
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