Commit 2f3190e6 authored by shajiaiming's avatar shajiaiming

fix

parent 2b8fd3a5
...@@ -46,7 +46,7 @@ class CoinSupportedChain extends BaseActiveRecord ...@@ -46,7 +46,7 @@ class CoinSupportedChain extends BaseActiveRecord
public function getCoin() public function getCoin()
{ {
return $this->hasOne(WalletCoin::className(), ['id' => 'coin_id']) return $this->hasOne(Coin::className(), ['id' => 'coin_id'])
->select('id, icon, name, introduce, nickname, platform, chain, treaty'); ->select('id, icon, name, introduce, nickname, platform, chain, treaty');
} }
} }
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