Commit 576714df authored by shajiaiming's avatar shajiaiming

推荐币种排序

parent 3bb994f3
......@@ -32,7 +32,7 @@ class RecommendCoinController extends BaseController
$name = json_decode($category['name'], true);
$category['name'] = isset($name[$this->lang]) ? $name[$this->lang] : '';
$recommend_coin = WalletRecommendCoin::find()->where(['category_id' => $category['id']])->all();
$recommend_coin = WalletRecommendCoin::find()->where(['category_id' => $category['id']])->orderBy('sort')->all();
$items = [];
if (!empty($recommend_coin)) {
foreach ($recommend_coin as $coin) {
......
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