Commit 25e7f88e authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/issue_coin' into 'master'

fix See merge request !211
parents 5f91bd8d 51015840
......@@ -24,11 +24,7 @@ class IssueChainController extends BaseController
goto doEnd;
}
if (1 == $platform_id) {
$chain_model = CoinPlatform::find()->all();
} else {
$chain_model = CoinPlatform::find()->where(['id' => $platform_id])->all();
}
$chain_model = CoinPlatform::find()->where(['id' => $platform_id])->all();
if (false == $chain_model) {
$msg = '不存在的链';
......
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