Commit 6d64effc authored by shajiaiming's avatar shajiaiming

add return column

parent 2250e334
......@@ -358,7 +358,7 @@ class CoinController extends BaseController
$platform_with_hold['exer'] = 'user.p.' . $platform . '.token';
$platform_with_hold['tokensymbol'] = $coin_name;
$platform_with_hold['fee'] = 0;
$coins_model = Coin::find()->select('name')->where(['platform' => $platform, 'treaty' => 1])->asArray()->one();
$coins_model = Coin::find()->select('name')->where(['platform' => $platform, 'treaty' => 2])->asArray()->one();
$platform_with_hold['coins_name'] = empty($coins_model) ? '' : $coins_model['name'];
} else {
$platform_with_hold['exer'] = 'user.p.' . $platform . '.coins';
......
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