Commit 6544a8f1 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into develop

parents c691a8e5 1b728e04
......@@ -20,5 +20,8 @@ class WalletRecommendCoin extends BaseActiveRecord
return '{{wallet_recommend_coin}}';
}
public function getCoin()
{
return $this->hasOne(Coin::className(), ['id' => 'cid'])->select(['id', 'icon', 'name', 'introduce', 'nickname', 'platform', 'chain', 'treaty'])->asArray();
}
}
\ No newline at end of file
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