Commit 1b728e04 authored by shajiaiming's avatar shajiaiming

fix

parent c1029b8e
......@@ -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