Commit 51015840 authored by shajiaiming's avatar shajiaiming

fix

parent 5f91bd8d
......@@ -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